On Wed, Mar 3, 2010 at 10:13 PM, Roger Hui <[email protected]> wrote:

> ,/ is recognized by the interpreter and is
> implemented by special code; ,~/ is not.
>

ah, thanks. what would be the reason for the difference between

,~/ i.1000000

and
-~/ i.1000000

Both I assume is not handled by special code but I can sit there and wait
minutes before ,~/ can finish whereas -~/ would finish within reasonable
time(both are  1000x slower than the special code ,/ and -/) and ,~/ is 20x
slower the -~/

I know this kind of micro benchmark is meaningless, just try to get a sense
of the performance profile on what to avoid.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to