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/2012-May/119156.html below:

[Python-Dev] cpython: Move make_key() out of the decorator body. Make keys that only need to be

[Python-Dev] cpython: Move make_key() out of the decorator body. Make keys that only need to be [Python-Dev] cpython: Move make_key() out of the decorator body. Make keys that only need to beAntoine Pitrou solipsis at pitrou.net
Tue May 1 12:37:51 CEST 2012
On Tue, 01 May 2012 07:32:36 +0200
raymond.hettinger <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/f981fe3b8bf7
> changeset:   76681:f981fe3b8bf7
> user:        Raymond Hettinger <python at rcn.com>
> date:        Mon Apr 30 22:32:16 2012 -0700
> summary:
>   Move make_key() out of the decorator body. Make keys that only need to be hashed once.

How does it work? A new _CacheKey instance is created at each cache
lookup anyway.

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