summaryrefslogtreecommitdiffstats
path: root/test/unit/run_quantize.c
Commit message (Collapse)AuthorAgeFilesLines
* Use huge size class infrastructure for large size classes.Jason Evans2016-06-061-149/+0
|
* Refactor runs_avail.Jason Evans2016-05-161-1/+1
| | | | | | | | Use pszind_t size classes rather than szind_t size classes, and always reserve space for NPSIZES elements. This removes unused heaps that are not multiples of the page size, and adds (currently) unused heaps for all huge size classes, with the immediate benefit that the size of arena_t allocations is constant (no longer dependent on chunk size).
* Use table lookup for run_quantize_{floor,ceil}().Jason Evans2016-02-231-10/+2
| | | | | Reduce run quantization overhead by generating lookup tables during bootstrapping, and using the tables for all subsequent run quantization.
* Test run quantization.Jason Evans2016-02-221-0/+157
Also rename run_quantize_*() to improve clarity. These tests demonstrate that run_quantize_ceil() is flawed.