Message236265
Yes, I noticed this when reimplementing the random module in Numba. *Theoretically*, I think you need "long" to ensure ints are at least 32 bits. But in practice, I think CPython already needs 32-bit C ints. (note Numpy also uses C longs internally) > Would it be possible to benchmark this change, to ensure that it doesn't kill performances? There is no way it can kill performance. | |
| Date | User | Action | Args | | 2015-02-20 10:42:26 | pitrou | set | recipients: + pitrou, rhettinger, mark.dickinson, vstinner, serhiy.storchaka | | 2015-02-20 10:42:26 | pitrou | set | messageid: <1424428946.69.0.590042974084.issue23488@psf.upfronthosting.co.za> | | 2015-02-20 10:42:26 | pitrou | link | issue23488 messages | | 2015-02-20 10:42:26 | pitrou | create | | |