[pypy-issue] [issue955] inefficiency of struct.pack_into
Brian Kearns
tracker at bugs.pypy.org
Tue May 6 18:27:46 CEST 2014
Brian Kearns <bdkearns at gmail.com> 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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue955>
________________________________________
More information about the pypy-issue
mailing list