Message92138
to prove it a bit more - ctype benchmark
>>> import ctypes, ctypes.util
>>> def uu1(n):
... t = time.time()
... _buffer = ctypes.create_string_buffer(16)
... for x in range(n):
... uuid._uuid_generate_time(_buffer)
... print('%.3f microseconds' % ((time.time() - t) * 1000000.0 / n))
...
>>> uu1(1000000)
15.819 microseconds |
|
Date |
User |
Action |
Args |
2009-09-01 09:29:34 | grooverdan | set | recipients:
+ grooverdan, alexandre.vassalotti, wangchun |
2009-09-01 09:29:32 | grooverdan | set | messageid: <1251797372.23.0.743416080796.issue5885@psf.upfronthosting.co.za> |
2009-09-01 09:29:29 | grooverdan | link | issue5885 messages |
2009-09-01 09:29:27 | grooverdan | create | |
|