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



----- Original Message -----
From: gary ng <[email protected]>
Date: Wednesday, March 3, 2010 21:58
Subject: [Jprogramming] newbie question about u/ y
To: Programming forum <[email protected]>

> As far as I can tell
> 
> u/ y <=> foldr1 u y (in Haskell).
> 
> -/ i.4 => -2
> 
> foldr1 (-) [0..3] => -2
> 
> I can also do foldl1 as u~/
> 
> What I don't understand is the speed difference(huge) between
> 
> ,/ i.1000000
> 
> and
> 
> ,~/ i.1000000
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to