Changes between Version 21 and Version 22 of Ticket #17819
- Timestamp:
- 03/01/15 09:43:23 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17819 – Description
v21 v22 1 The `divisors` method of `Integer` is implemented using `long long` if possible. However, it would be better to use `unsigned long` for this. One advantage is that we no longer need the `mpz_set_longlong()` functions from `c_lib`. This will also be faster for small inputs on 32-bit systems. 1 The `divisors` method of `Integer` is implemented using `long long` if possible. However, it would be better to use `unsigned long` for this. One advantage is that we no longer need the `mpz_set_longlong()` functions from `c_lib`. This will also be faster for small inputs on 32-bit systems. On 64-bit systems, there should be no speed difference (except perhaps a small speed-up due to skipping the `mpz_longlong` overhead and the fact that we use 64 instead of 63 bits).