This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients amaury.forgeotdarc, anacrolix, asvetlov, brechtm, eric.snow, ezio.melotti, giampaolo.rodola, jcea, kachayev, meador.inge, pitrou, rhettinger, scoder, serhiy.storchaka, skrah
Date 2013-11-22.17:49:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385142594.92.0.839383506296.issue14373@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a revised patch. It is synchronized with tip. Got rid of capsules (sped up about 10%). lru_list_elem is now true Python object. Got rid of the lock, the new code must be thread-safe with GIL only.

I very much hope that this code will be included in 3.4. We can fix bugs later if there are any. I am also planning to optimize the make_key() functions.
History
Date User Action Args
2013-11-22 17:49:56serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, jcea, amaury.forgeotdarc, pitrou, scoder, giampaolo.rodola, ezio.melotti, asvetlov, skrah, meador.inge, anacrolix, eric.snow, brechtm, kachayev
2013-11-22 17:49:54serhiy.storchakasetmessageid: <1385142594.92.0.839383506296.issue14373@psf.upfronthosting.co.za>
2013-11-22 17:49:54serhiy.storchakalinkissue14373 messages
2013-11-22 17:49:54serhiy.storchakacreate