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/2013-October/129193.html below:

[Python-Dev] Optimization

[Python-Dev] Optimization [Python-Dev] OptimizationAntoine Pitrou solipsis at pitrou.net
Sun Oct 6 00:58:14 CEST 2013
On Sat, 5 Oct 2013 15:35:30 -0700
Raymond Hettinger <raymond.hettinger at gmail.com> wrote:
> 
> Making bytearray's efficiently pop from the left side is dubious.
> This isn't a common idiom, nor should it be.  Even if all the
> other implementations could model this behavior, it wouldn't
> be a good idea to have bytearrays have different performance
> characteristics than strings.

Bytearrays are mutable and strings are immutable, so evidently they
will have different performance characteristics.

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