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/019988.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%M.-A. Lemburg mal@lemburg.com
Tue, 12 Feb 2002 12:40:11 +0100
Some other things you might want to try:

* Inline small dictionary tables in the PyObject struct and only
  revert to external tables for larger ones. (I have an old patch 
  for this one which you might want to update)

* Optimize perfect hashings. Sometimes (hopefully most of the times)
  Python will generate a perfect hashing for a set of attributes.
  In that case, it could set a flag in the dictionary object to
  be able to use a faster lookup function.

BTW, could you run pybench against your patch ?

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/



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