server-skynet-source-3rd-je.../include
Qi Wang 7599c82d48 Redesign the cache bin metadata for fast path.
Implement the pointer-based metadata for tcache bins --
- 3 pointers are maintained to represent each bin;
- 2 of the pointers are compressed on 64-bit;
- is_full / is_empty done through pointer comparison;

Comparing to the previous counter based design --
- fast-path speed up ~15% in benchmarks
- direct pointer comparison and de-reference
- no need to access tcache_bin_info in common case
2019-08-19 12:21:44 -07:00
..
jemalloc Redesign the cache bin metadata for fast path. 2019-08-19 12:21:44 -07:00
msvc_compat Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00