Jason Evans 1c6d5bde6c Refactor per-run bitmap manipulation functions so that bitmap offsets only
have to be calculated once per allocator operation.

Make nil const.

Update various comments.

Remove/avoid division where possible.

For the one division operation that remains in the critical path, add a
switch statement that has a case for each small size class, and do division
with a constant divisor in each case.  This allows the compiler to generate
optimized code that does not use hardware division [1].

Obtained from:	peter [1]
2006-04-04 03:51:47 +00:00
..
2006-02-26 23:01:11 +00:00
2005-01-20 09:17:07 +00:00
2005-01-20 09:17:07 +00:00
2004-07-06 13:58:45 +00:00
2004-02-23 03:30:02 +00:00
2003-09-14 13:41:59 +00:00
2005-01-20 09:17:07 +00:00
2005-01-20 09:17:07 +00:00
2006-03-28 22:16:04 +00:00
2006-03-28 22:16:04 +00:00
2005-01-20 09:17:07 +00:00
2005-01-20 09:17:07 +00:00
2005-01-20 09:17:07 +00:00
2006-03-28 22:16:04 +00:00
2005-01-20 09:17:07 +00:00