zak seidov on Thu, 08 Aug 2013 12:55:24 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Trivial Q, sorry





----- Original Message -----
> From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
> To: pari-users@pari.math.u-bordeaux.fr
> Cc: 
> Sent: Thursday, August 8, 2013 12:05 PM
> Subject: Re: Trivial Q, sorry
> 
> On Wed, Aug 07, 2013 at 03:53:34PM -0700, zak seidov wrote:
>>  Dear PARI gurus,
>> 
>>  I use (on a very trivial level)        
>>  GP/PARI CALCULATOR Version 2.5.3 (released)
>>             i686 running mingw (ix86/GMP-5.0.1 kernel) 32-bit version
>>                      compiled: Oct  3 2012, gcc-4.6.3 (GCC)
>>                 (readline not compiled in, extended help enabled)
>> 
>>  in Windows 7. 
>> 
>>  Calcs are trivial but lengthy,
>>  so one of my Qs
>>  from point of speed, is
>>  what is better to use 
>>  a) variable for some (large integer) constant,
>>  say a = 123456789987654321
>>  or
>>  b) constant 123456789987654321 itself?
> 
> I would say performance will be exactly the same.
> 
> Cheers,
> Bill
Thanks!

>