Ivan Krstić wrote:
> Jean-Paul Calderone wrote:
>> http://twistedmatrix.com/trac/browser/sandbox/itamar/cppreactor/fusion
> 
> This is the same Itamar who, in the talk I linked a few days ago
> (http://ln-s.net/D+u) extolled buffer as a very real performance
> improvement in fast python networking, and asked for broader and more
> complete support for buffers, rather than their removal.
> 
> A bunch of people, myself included, want to use Python as a persistent
> network server. Proper support for reading into already-allocated
> memory, and non-copying strings are pretty indispensable for serious
> production use.

A mutable bytes type with deque-like performance characteristics (i.e O(1) 
insert/pop at index 0 as well as at the end), as well as the appropriate 
mutating methods (like read_into()) should go a long way to meeting those needs.

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to