Changes between Initial Version and Version 1 of Ticket #18159, comment 15
 Timestamp:
 04/11/15 17:39:27 (7 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #18159, comment 15
initial v1 6 6 It was not only loss of time but well defineness. Additioning Python int with Sage integers is slower than Sage integer with Sage integer. 7 7 {{{ 8 sage: python_one = 1r 9 sage: sage_one = 1 10 sage: sage_a = 2**12 8 11 sage: timeit("sage_a + python_one", number=5000000) 9 12 5000000 loops, best of 3: 66.3 ns per loop