Jason Grout wrote:
> Daryl Hammond wrote:
>> Jason, your tips on initializing the array and on counting the array
>> values are appreciated.  I'll add these to the next version of the
>> program.  I'll also incorporate your cython suggestion as well.  As
>> you point out, all three of these will speed up the program (and other
>> programs I have) significantly.
>>
>> My original question was why given the same hardware, the same
>> operating system, and the same program would switching from sage-3.0.1
>> to sage-3.0.2 produce such a dramatic increase in elapsed/CPU time of
>> the program.  Apparently this is a known issue and is being worked
>> on.
>>
>> I appreciate your help.
> 
> 
> No problem.  I realize I was ignoring the original question; I just 
> couldn't resist the temptation to help in optimizing the code.  Note 
> that the optimized sage version and the cython version don't use GMP, 


hmm...that is, if python doesn't use GMP internally.  Does python use 
GMP internally to handle int numbers (or really, long int numbers)?


Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to