SV: dotimes versus dotimes

"Pavel Grozman" <[email protected]> Fri, 31 Oct 2003 08:46:26 +0100
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Sorry, the greatest FIXNUM is 2^28-1 = 268,435,455

> -----Ursprungligt meddelande-----
> Från: Pavel Grozman [mailto:[email protected]]
> Skickat: den 31 oktober 2003 08:44
> Till: [email protected]
> Ämne: SV: [cormanlisp] dotimes versus dotimes
>
>
> Because 100,000,000 is a FIXNUM and 1,000,000,000 is a BIGNUM.
> In CCL, the greatest FIXNUM is 2^27-1 = 134,217,727
>
> Pavel Grozman
>
> > -----Ursprungligt meddelande-----
> > Från: smallhairytroll [mailto:[email protected]]
> > Skickat: den 31 oktober 2003 03:11
> > Till: [email protected]
> > Ämne: [cormanlisp] dotimes versus dotimes
> >
> >
> > I'm using CCL 2.5 . Why does DOTIMES 1,000,000,000 take so much longer
> > to complete than DOTIMES 100,000,000 ? My numbers are below.
> >
> > (time
> >     (dotimes (i 100000000 'DONE)))
> >
> > Total Execution time: 0.605409 seconds
> > Time spent garbage collecting: 0.0 seconds
> > DONE
> >
> > (time
> >     (dotimes (i 1000000000 'DONE)))
> >
> > Total Execution time: 1112.04608 seconds
> > Time spent garbage collecting: 88.468864 seconds
> > DONE
> >
> > -Luke
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > [email protected]
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>



To unsubscribe from this group, send an email to:
[email protected]



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/vhSowB/XP.FAA/3jkFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/