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/2009-April/088545.html below:

[Python-Dev] Rethinking intern() and its data structure

[Python-Dev] Rethinking intern() and its data structure [Python-Dev] Rethinking intern() and its data structure"Martin v. Löwis" martin at v.loewis.de
Thu Apr 9 22:13:40 CEST 2009
> I don't have numbers on how much that would improve CPU times, I would
> imagine improving 'intern()' would impact import times more than run
> times, simply because import time is interning a *lot* of strings.
> 
> Though honestly, Bazaar would really like this, because startup overhead
> for us is almost 400ms to 'do nothing', which is a lot for a command
> line app.

Maybe I misunderstand your proposed change: how could the representation
of the interning dict possibly change the runtime of interning? (let
alone significantly)

Regards,
Martin
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