Changes between Version 1 and Version 5 of Ticket #18304


Ignore:
Timestamp:
04/28/15 22:00:17 (7 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18304

    • Property Status changed from new to needs_review
    • Property Cc jdemeyer added
    • Property Commit changed from to 554c4358bc0e470ec0c72c2a24251f4a6978a12e
  • Ticket #18304 – Description

    v1 v5  
    1212}}}
    1313
    14 With the branch applied all comparisons involving only Sage integers, Sage rationals and Python int/long are about the same time.
     14With the branch applied all comparisons involving only Sage integers, Sage rationals and Python int/long are about the same time. With the branch applied, I got
     15
     16{{{
     17sage: a = 1; b = 18
     18sage: timeit("a < b", number=500000, repeat=100)
     19500000 loops, best of 100: 62.2 ns per loop
     20sage: a = QQ(1); b = QQ(18)
     21sage: timeit("a < b", number=500000, repeat=100)
     22500000 loops, best of 100: 65.3 ns per loop
     23sage: a = 1; b = QQ(18)
     24sage: timeit("a < b", number=500000, repeat=100)
     25500000 loops, best of 100: 82.8 ns per loop
     26}}}