You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decoding instructions at some offset in buffer is good feature.
Current decoder implementation accepts code buffer and converts it using create_string_buffer.
Usually encoding happens at random offsets so each decode call introduces overhead of allocating and copying buffer (20MB of code in my case).
It would be nice to allow passing ctypes buffer to Decoder.decode
The text was updated successfully, but these errors were encountered:
Thank you for this library.
Decoding instructions at some offset in buffer is good feature.
Current decoder implementation accepts code
buffer
and converts it usingcreate_string_buffer
.Usually encoding happens at random offsets so each
decode
call introduces overhead of allocating and copyingbuffer
(20MB of code in my case).It would be nice to allow passing ctypes buffer to
Decoder.decode
The text was updated successfully, but these errors were encountered: