On Wednesday 28 Aug 2002 2:19 pm, Jeremy Hylton wrote:
I'd like to change this bit of code in handle_write():
if n len(v):
# XXX It's unfortunate that we end up making many
# slices of a large string.
output.insert(0, v[n:])
TD == Toby Dickenson [EMAIL PROTECTED] writes:
TD There is an O(n) option with easy logic... fragment big strings
TD inside message_output.
Sounds like a possibility. It would still be nice to have something
in handle_write() to avoid extra slicing on partial send()s. But your
patch is
TD == Toby Dickenson [EMAIL PROTECTED] writes:
although we may do one more beta release to add some performance
improvements.
TD Do you have something specific in mind?
I'd like to change this bit of code in handle_write():
if n len(v):
# XXX It's