Factor sizeclass meta-data for cache locality
This commit splits the sizeclass meta-data to generate better cache locality for various lookups for checking for size and start of sizeclasses. Also, contains some tidying including removing sizeclasses covering large range. This is left over from an alternative design for large classes that is no longer in use.
This commit is contained in:
committed by
Matthew Parkinson
parent
0f70494d55
commit
44416ed70e
@@ -415,7 +415,7 @@ void test_static_sized_allocs()
|
||||
{
|
||||
// For each small, medium, and large class, do each kind dealloc. This is
|
||||
// mostly to ensure that all of these forms compile.
|
||||
for (size_t sc = 0; sc < NUM_SIZECLASSES_EXTENDED; sc++)
|
||||
for (size_t sc = 0; sc < NUM_SIZECLASSES; sc++)
|
||||
{
|
||||
// test_static_sized_alloc<sc, 0>();
|
||||
// test_static_sized_alloc<sc, 1>();
|
||||
|
||||
Reference in New Issue
Block a user