diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-05 12:50:29 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-05 13:02:05 -0800 |
commit | 23060d095447ca7c47a9c0698ec731197cebc80b (patch) | |
tree | 9536f45a6e9bd86ad7317e48a3b8defbb356f9f8 /tests/test_xpath_parse.cpp | |
parent | 12e137d12fe6e6492e669cfa6c333f4a8911b1b2 (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 'tests/test_xpath_parse.cpp')
0 files changed, 0 insertions, 0 deletions