Changes between Version 12 and Version 14 of Ticket #18304
- Timestamp:
- 08/14/15 17:10:56 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18304
-
Property
Status
changed from
needs_work
toneeds_review
-
Property
Commit
changed from
554c4358bc0e470ec0c72c2a24251f4a6978a12e
toe03a26e63dd50f79fc7ada885daefd8c9970c482
-
Property
Status
changed from
-
Ticket #18304 – Description
v12 v14 6 6 sage: a = QQ(1); b = QQ(18) 7 7 sage: timeit("a < b", number=500000, repeat=100) 8 500000 loops, best of 100: 8 8.4 ns per loop8 500000 loops, best of 100: 84 ns per loop 9 9 sage: a = 1; b = QQ(18) 10 10 sage: timeit("a < b", number=500000, repeat=100) 11 500000 loops, best of 100: 416 ns per loop 11 500000 loops, best of 100: 405 ns per loop 12 }}} 13 14 With the branch applied, it gets better 15 {{{ 16 sage: a = 1; b = 18 17 sage: timeit("a < b", number=500000, repeat=100) 18 500000 loops, best of 100: 64 ns per loop 19 sage: a = QQ(1); b = QQ(18) 20 sage: timeit("a < b", number=500000, repeat=100) 21 500000 loops, best of 100: 65.6 ns per loop 22 sage: a = 1; b = QQ(18) 23 sage: timeit("a < b", number=500000, repeat=100) 24 500000 loops, best of 100: 87.1 ns per loop 12 25 }}} 13 26 … … 15 28 16 29 [https://github.com/wbhart/mpir/pull/157 https://github.com/wbhart/mpir/pull/157] 30 31 Warning: if you pull the branch and run `make` then you will likely rebuild your whole Sage!