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 Rhamphoryncus
Recipients Rhamphoryncus, chemacortes, jcea, mark.dickinson, pitrou, rhettinger
Date 2009-02-11.20:59:38
SpamBayes Score 7.09047e-08
Marked as misclassified No
Message-id <1234385980.02.0.08263489117.issue5186@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine, I only meant list() and dict() to be an example of objects with
a larger allocation pattern.  We get a substantial benefit from the
sequentially increasing memory addresses, and I wanted to make sure that
benefit wasn't lost on larger allocations than object().

Mark, I concede the point about rotating; I believe the cost on x86 is
the same regardless.

Why are you still only rotating 3 bits?  My results were better with 4
bits, and that should be the sweet spot for the typical use cases.

Also, would the use of size_t make this code simpler?  It should be the
size of the pointer even on windows.
History
Date User Action Args
2009-02-11 20:59:40Rhamphoryncussetrecipients: + Rhamphoryncus, rhettinger, jcea, chemacortes, mark.dickinson, pitrou
2009-02-11 20:59:40Rhamphoryncussetmessageid: <1234385980.02.0.08263489117.issue5186@psf.upfronthosting.co.za>
2009-02-11 20:59:38Rhamphoryncuslinkissue5186 messages
2009-02-11 20:59:38Rhamphoryncuscreate