Antoine Pitrou added the comment:

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.

----------
nosy: +mark.dickinson, pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23488>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to