diff options
author | Qi Wang <interwq@gwu.edu> | 2015-10-27 22:12:10 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2015-11-10 22:28:34 (GMT) |
commit | f4a0f32d340985de477bbe329ecdaecd69ed1055 (patch) | |
tree | a148610f4d2253186c59e671dcb065ce3647d2f5 /src/rtree.c | |
parent | 710ca112e31e8621177d08162f60158c27dd2974 (diff) | |
download | jemalloc-f4a0f32d340985de477bbe329ecdaecd69ed1055.zip jemalloc-f4a0f32d340985de477bbe329ecdaecd69ed1055.tar.gz jemalloc-f4a0f32d340985de477bbe329ecdaecd69ed1055.tar.bz2 |
Fast-path improvement: reduce # of branches and unnecessary operations.
- Combine multiple runtime branches into a single malloc_slow check.
- Avoid calling arena_choose / size2index / index2size on fast path.
- A few micro optimizations.
Diffstat (limited to 'src/rtree.c')
0 files changed, 0 insertions, 0 deletions