Brian Kearns <[email protected]> added the comment:

Actually, there are is a remaining inefficiency in pack_into: 
PackFormatIterator 
always packs into a string and then copies into the buffer. It should be 
possible 
to pack into the buffer directly. Seems solving this requires modification of 
both 
pypy/module/struct and rpython/rlib/rstruct.

----------
status: testing -> chatting
title: move struct.Struct to interplevel -> inefficiency of struct.pack_into

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue955>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to