[Jprogramming] +/ slower than (+/ % #)/

Dan Baronet dbaronet at yahoo.com
Thu May 21 11:12:38 HKT 2009


Roger, shouldn't that be a float here?

--- On Wed, 5/20/09, Roger Hui <rhui000 at shaw.ca> wrote:

> From: Roger Hui <rhui000 at shaw.ca>
...
> 
>    x=: 1e7 ?@$ 0  <<<<< float? -------------------
>    100 ts '+/x'
> 0.0192155 1024
>    100 ts '(+/%#)x'
> 0.0191934 1216
>    100 ts '(+/)x'
> 0.0202687 1024
> 
> No difference among the three on a floating point
> argument.



      


More information about the Programming mailing list