Re: [Python-Dev] Adding bytes.frombuffer() constructor to PEP 467 (was: [Python-ideas] Adding bytes.frombuffer() constructor

2016年10月25日 00:28:34 -0700

On 25 October 2016 at 02:53, Chris Barker <[email protected]> wrote:
> IS this na either-or? IF someone is proposing a nice lib for "low level data
> buffer
> manipulation", then yes, putting frombuffer() in there would be a fine idea.
>
> But if there is no such proposal on the table, then I think adding a
> frombuffer method to the bytes object is a small improvement that we can do
> now.
The suggestion came from folks working on asyncio performance
improvements, and we already got the entire ``selectors`` abstraction
from the original asyncio implementation work, as well as Yury's new
libuv-based ``uvloop`` asyncio event loop implementation.
Given that "make OpenStack/SDN/NFV run faster" is a key point of
interest for folks like Intel and Red Hat, I'm *absolutely* suggesting
that they put some paid time and energy into a lower level buffer
manipulation library between now and the Python 3.7 feature freeze in
12+ months, as I think that will have longer term pay-offs well beyond
the scope of the original use cases :)
Cheers,
Nick.
-- 
Nick Coghlan | [email protected] | Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to