pycrypto should stop poking inside long objects
Bug #1131452 reported by
fijal
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
New
|
Undecided
|
Unassigned |
Bug Description
As per https:/
To post a comment you must log in.
I have just opened a pull request here:
https:/ /github. com/dlitz/ pycrypto/ pull/59
_fastmath does not not access internals of PyLongs anymore.
Once I got the whole library running though, it was interesting to see that PyCrypto becomes significantly slower in PyPy by a factor of ~30%, and that does not seem related to the code I changed.
BTW, not compiling _fastmath would make public key operation unbearably slow.