Dear Travis,
Indeed I was using Sage 6.8. I switched to 7.2 and it is okay. Thank you
for pointing this out! -- Hao
On Monday, April 25, 2016 at 7:46:29 PM UTC-7, Travis Scrimshaw wrote:
>
> Hey Hao,
> I cannot reproduce on 7.2.beta5:
>
> sage: F = GF(13); R.<x> = F[[]]
> sage: prec = 5*10^6
> sage: %time R([1], prec)
> CPU times: user 1.62 ms, sys: 326 µs, total: 1.95 ms
> Wall time: 1.87 ms
> 1 + O(x^5000000)
>
> Best,
> Travis
>
>
> On Monday, April 25, 2016 at 6:18:09 PM UTC-5, Hao Chen wrote:
>>
>> I was trying to define a power series 1 + O(x^(5e6)) with base ring the
>> finite field with 13 elements.
>> And it is taking surprisingly long.
>>
>> sage: F = GF(13); R.<x> = F[[]]
>> sage: prec = 5*10^6
>> sage: timeit('R([1], prec)') # long time.
>> 5 loops, best of 3: 1.04 s per loop
>>
>> Could someone kindly point out if I messed up somewhere? Thanks! -- hao
>>
>
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.