summaryrefslogtreecommitdiff
path: root/contrib/foreach.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-05 12:50:29 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-03-05 13:02:05 -0800
commit23060d095447ca7c47a9c0698ec731197cebc80b (patch)
tree9536f45a6e9bd86ad7317e48a3b8defbb356f9f8 /contrib/foreach.hpp
parent12e137d12fe6e6492e669cfa6c333f4a8911b1b2 (diff)
Use more efficient encoding for string headers
Since all string allocations are pointer-aligned to avoid aligning more frequent node allocations, we can rely on that in string encoding. Encoding page offset and block size in sizeof(void*) units increases the maximum memory page size from 64k to 256k on 32-bit and 512k on 64-bit platforms. Fixes #35.
Diffstat (limited to 'contrib/foreach.hpp')
0 files changed, 0 insertions, 0 deletions