diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-15 21:44:52 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-15 21:44:52 -0700 |
commit | bb3aee447b698c7dcec6428a17c61e66dd43dfd6 (patch) | |
tree | 55d2efbec08ee116ae1131d51920b121b8a7d877 /src | |
parent | 8c8940430ac0d0f82add6fb028ffe9712c9669e8 (diff) |
tests: Use malloc for OSX/Linux page heap
Switch to malloc and manually aligning the pointer to the page boundary.
mmap is much slower than malloc; this change makes tests ~4x faster.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions