diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-04-14 08:43:06 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-04-14 08:43:06 -0700 |
commit | 2d5980b406fc1efaa63b8f18bcc1b25ab8ec8268 (patch) | |
tree | 54b0f5b102782f9f3a39d43c4b2de67cb95b42b0 /Makefile | |
parent | 2e0ed8284b7488f9664bf8dba9aae90688862cc3 (diff) |
Adjust XML allocation pages to have the exact specified size
Previously the page size was defining the data size, and due to additional
headers (+ recently removed allocation padding) the actual allocation was a bit
bigger.
The problem is that some allocators round 2^N+k allocations to 2^N+M, which can
result in noticeable waste of space. Specifically, on 64-bit OSX allocating the
previous page size (32k+40) resulted in 32k+512 allocation, thereby wasting 472
bytes, or 1.4%.
Now we have the allocation size specified exactly and just recompute the available
data size, which can in small space savings depending on the allocator.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions