A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-October/104937.html below:

[Python-Dev] new buffer in python2.7

[Python-Dev] new buffer in python2.7 [Python-Dev] new buffer in python2.7Antoine Pitrou solipsis at pitrou.net
Wed Oct 27 14:15:19 CEST 2010
On Wed, 27 Oct 2010 20:00:10 +0800
Kristján Valur Jónsson <kristjan at ccpgames.com> wrote:
> Calling getbuffer on a bytearray or a bytes object should
> be really cheap, so I still don't accept this as a matter of fact
> situation.

It *is* cheap. It's just that copying a short slice is dirt cheap as
well.

Of course, it you manipulate 1 KB slices or longer, it's different.

Regards

Antoine.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4