Newsgroups: comp.lang.apl
Path: watmath!watserv1!torn!utcsri!rpi!usc!wupost!uunet!trirex!root
From: trirex!taff@uunet.uu.net (Tom Affinito)
Subject: Meaning of x 6!:2 in J version 5
Message-ID: <1992Jul24.171411.5376@Trirex.COM>
Sender: root@Trirex.COM (Operator)
Reply-To: trirex!taff@uunet.uu.net
Organization: Trirex Systems Inc.
Distribution: na
Date: Fri, 24 Jul 1992 17:14:11 GMT
Lines: 22

I was examining what was added to version 5, and besides the performance  
improvements, bug fixes, and more extensive use of the tolerance  
conjunction (btw, thanks for all of that ISI!), the one new feature that  
stood out was the dyadic form of 6!:2.

Unfortunately this is not described in the xenos.doc, but through  
experimentation it appears to time the y string x number of times and  
returns the average time.

ie, 1 2 100 (6!:2) '2 + 3'
0 0.007812 0.002031

which I'm interpreting to mean what is the time to run the expression  
once, what is the average time it took when running it twice and dividing  
by two, and what is the average time it took to execute in a test run of  
100 executions

Can anyone confirm or correct this interpretation?

Thanks!
Tom Affinito
trirex!taff@uunet.uu.net
