SV: dotimes versus dotimes
"Pavel Grozman" <[email protected]> Fri, 31 Oct 2003 08:44:11 +0100
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
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/ > ------------------------ Yahoo! Groups Sponsor ---------------------~--> Rent DVDs from home. Over 14,500 titles. Free Shipping & No Late Fees. Try Netflix for FREE! http://us.click.yahoo.com/ybSovB/hP.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/