diff options
| author | Jason Evans <jasone@canonware.com> | 2016-12-21 12:33:17 -0800 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-12-23 10:34:34 -0800 |
| commit | bacb6afc6c5a83c5bf2e5e04a6db99600046e971 (patch) | |
| tree | dde5a362f85131fe4cfb440c9d565d2c9b0ec5ab /src/stats.c | |
| parent | 194d6f9de8ff92841b67f38a2a6a06818e3240dd (diff) | |
| download | platform_external_jemalloc_new-bacb6afc6c5a83c5bf2e5e04a6db99600046e971.tar.gz platform_external_jemalloc_new-bacb6afc6c5a83c5bf2e5e04a6db99600046e971.tar.bz2 platform_external_jemalloc_new-bacb6afc6c5a83c5bf2e5e04a6db99600046e971.zip | |
Simplify arena_slab_regind().
Rewrite arena_slab_regind() to provide sufficient constant data for
the compiler to perform division strength reduction. This replaces
more general manual strength reduction that was implemented before
arena_bin_info was compile-time-constant. It would be possible to
slightly improve on the compiler-generated division code by taking
advantage of range limits that the compiler doesn't know about.
Diffstat (limited to 'src/stats.c')
0 files changed, 0 insertions, 0 deletions
