[Shootout-list] nsieve in Lisp

Isaac Gouy igouy2@yahoo.com
Mon, 3 Jan 2005 09:05:26 -0800 (PST)


> NB: Specifying the array element-type as (integer 0 1) causes CMUCL
> to create a bit array. We're supposed to have a separate benchmark
for
> that, but I don't think it would be fair to go out of our way to
> break this optimization. This is a good test of the compiler.

"Boolean values in Common Lisp are represented by the reserved symbols
T and NIL"

Is that correct? If so, use T and Nil, not 0 and 1.



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail