acid icon indicating copy to clipboard operation
acid copied to clipboard

C extension keylib.Key optimization

Open dw opened this issue 12 years ago • 0 comments

Conisder:

For KEY_PRIVATE and KEY_COPIED, maintain an extra 3-6 bytes slack at the start of self->p to use for a prefix. Modify to_raw() to utilize this slack if possible, in which case return a buffer object locked over self->p . Further to_raw() calls while the buffer exists should fail.

dw avatar Sep 11 '13 21:09 dw