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 rhettinger
Recipients methane, rhettinger, serhiy.storchaka
Date 2017-01-08.09:50:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483869036.69.0.874318106576.issue29202@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't had much of a chance to comb through all the code it detail, but there are least a few places that loop over the whole entry table (size is dk_nentries) when fewer iterations would suffice (stop once mp->ma_used entries have been seen).  Since the table is usually dense packed to the left, this will give fewer loops and fewer memory accesses.
History
Date User Action Args
2017-01-08 09:50:36rhettingersetrecipients: + rhettinger, methane, serhiy.storchaka
2017-01-08 09:50:36rhettingersetmessageid: <1483869036.69.0.874318106576.issue29202@psf.upfronthosting.co.za>
2017-01-08 09:50:36rhettingerlinkissue29202 messages
2017-01-08 09:50:36rhettingercreate