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
..
2005-04-22 18:57:32 +00:00
2006-02-02 10:05:39 +00:00
2005-07-13 10:40:07 +00:00
2005-02-13 23:45:54 +00:00
2005-10-04 22:00:35 +00:00
2005-11-24 10:43:35 +00:00
2006-03-16 15:18:17 +00:00
2006-03-16 15:18:17 +00:00
2006-02-11 19:21:39 +00:00
2006-03-16 15:18:17 +00:00
2006-03-16 15:18:17 +00:00
2006-03-29 14:08:45 +00:00
2005-09-26 06:23:43 +00:00
2005-11-24 11:26:36 +00:00
2006-03-23 14:09:21 +00:00
2006-03-27 23:59:45 +00:00