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/2002-February/019962.html below:

speed up name access by up to 80%

[Python-Dev] patch: speed up name access by up to 80% [Python-Dev] patch: speed up name access by up to 80%Oren Tirosh oren-py-d@hishome.net
Mon, 11 Feb 2002 16:29:32 -0500
On Mon, Feb 11, 2002 at 02:52:30PM -0600, Skip Montanaro wrote:
> 
>     The only thing I'd change is that if PyDict_GetItem_Fast is a macro that
>     only works for interned strings, I'd change its name to reflect its use:
>     PyDict_GET_ITEM_INTERNED or something similar.
> 
> One other naming change is to prefix PyDict_GetItem_Fast2 with an
> underscore, since the comments about its use make it clear that it's an
> internal function.

Done and up on the same URL.

PyDict_GetItem_Fast -> PyDict_GETITEM_INTERNED
PyDict_GetItem_Fast2 -> _PyDict_GetItem_Interned

	Oren



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