• Raymond Hettinger's avatar
    Move the leftlink to the end of the block structure. · 90180c1c
    Raymond Hettinger authored
    The current pattern of memory access will update both the leftlink and
    rightlink at the same time, so they should be positioned side-by-side
    for better cache locality.
    
    Keeping the leftlink at the front of the structure would make sense
    only if the paired updates were eliminated by backporting changesets
    49a9c734304d, 3555cc0ca35b, ae9ee46bd471, and 744dd749e25b.  However,
    that isn't likely to happen, so we're better off with the leftlink at
    the end of the structure.
    90180c1c
_collectionsmodule.c 51 KB