On Jul 31, 2007, at 22:54 , Jonathan Bober wrote: > On Tue, 2007-07-31 at 22:16 -0700, Justin C. Walker wrote: >> On Jul 31, 2007, at 18:36 , William Stein wrote: [snip] >> On a Core 2 Duo 2.33 Mhz, computing the number of partitions of 10^9: >> Mathematica 5.2 (PartitionsP[10^9]: 95.5115 s >> Sage 2.7.2.1 (number_of_partitions(10^9): 125.2 s >> Jon Bober's code (i386: 'jb 1000000000'): 160 s >> >> I wonder why our Core 2 Duo timings are so different? > That is puzzling. Are you sure that you have the latest version of the > code? The source file should have 'Version .3' at the top.
Yup. Double-checked the file; and re-ran the test. Essentially the same time. I'll check this tomorrow, along with the Mathematica oddity. > You can get > the latest version, or at least that latest version minus some memory > leak fixes, via hg_sage.pull(), or from > > http://www.math.lsa.umich.edu/~bober/partitions_c.cc > > The last version I posted to the list was significantly slower than > what > I have now (especially since I think I accidently had significant > improvements commented out in the last code I posted to the list.) That was the the "Jon Bober" timing above. I'll try the latest one later. Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Absorption of Federal Funds -------- Men are from Earth. Women are from Earth. Deal with it. -------- --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---