[Python-Dev] pymalloc killer

David Abrahams David Abrahams" <david.abrahams@rcn.com
2002年3月29日 19:03:25 -0500


From: "Tim Peters" <tim.one@comcast.net>
> Arenas are 256KB chunks with no known alignment. They're carved into
> 4KB-aligned pages (also called "pools") of 4KB each. Some number of
the
> leading and trailing memory addresses in an arena are sacrificed to
get page
> alignment in the smaller pieces (pools/pages). A given pool is in
turn
> carved into some number of continguous, equal-sized, 8-byte aligned
small
> blocks.

Okay, 'nuf said. I see why you need to do it that way, now.
-Dave

AltStyle によって変換されたページ (->オリジナル) /