Message81670
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. |
|
Date |
User |
Action |
Args |
2009-02-11 20:59:40 | Rhamphoryncus | set | recipients:
+ Rhamphoryncus, rhettinger, jcea, chemacortes, mark.dickinson, pitrou |
2009-02-11 20:59:40 | Rhamphoryncus | set | messageid: <1234385980.02.0.08263489117.issue5186@psf.upfronthosting.co.za> |
2009-02-11 20:59:38 | Rhamphoryncus | link | issue5186 messages |
2009-02-11 20:59:38 | Rhamphoryncus | create | |
|