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-September/128809.html below:

[Python-Dev] sys.intern should work on bytes

[Python-Dev] sys.intern should work on bytes [Python-Dev] sys.intern should work on bytesAntoine Pitrou solipsis at pitrou.net
Fri Sep 20 15:31:12 CEST 2013
Le Fri, 20 Sep 2013 15:14:37 +0200,
Jesus Cea <jcea at jcea.es> a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 20/09/13 14:04, Victor Stinner wrote:
> > What would you be the use case of interned bytes objets?
> 
> Performance and memory. Pickle sizes (my particular issue now).

sys.intern is an internal interpreter optimization and should be
orthogonal to pickling. If pickle can't detect already-seen bytes
object, then you may file an improvement request on the bug tracker.

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