[issue5885] uuid.uuid1() is too slow

Serhiy Storchaka report at bugs.python.org
Sun Dec 1 10:16:30 CET 2013


Serhiy Storchaka added the comment:

Instead hexadecimals in _long_from_uuid_t you can use _PyLong_FromByteArray.

However adding new C implemented module has hight cost. I doubt that the speed up of UUID generation is worth this cost.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5885>
_______________________________________


More information about the Python-bugs-list mailing list