Changes between Version 1 and Version 2 of Ticket #10596


Ignore:
Timestamp:
01/12/11 04:18:58 (10 years ago)
Author:
spancratz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10596

    • Property Status changed from new to needs_review
  • Ticket #10596 – Description

    v1 v2  
    44
    55Before:
    6 {{{
    7 sage: n = 10**10000000-10**9999990
    8 sage: timeit('n.ndigits()')
    9 625 loops, best of 3: 46.6 µs per loop
    10 sage: timeit('(-n).ndigits()')
    11 25 loops, best of 3: 9.04 ms per loop
    12 }}}
    136{{{
    147sage: ZZ(0).ndigits()
     
    2114
    2215After:
    23 {{{
    24 sage: n = 10**10000000-10**9999990
    25 sage: timeit('n.ndigits()')
    26 625 loops, best of 3: 1.02 µs per loop
    27 sage: timeit('(-n).ndigits()')
    28 125 loops, best of 3: 4.57 ms per loop
    29 }}}
    3016{{{
    3117sage: ZZ(0).ndigits()