mirror of
https://github.com/redis/redis.git
synced 2026-02-03 20:39:54 -05:00
Currently, in the zmalloc and zfree family functions, we rely on `je_malloc_usable_size()` to obtain the usable size of a pointer for memory statistics or to return it to the caller. However, this function is relatively expensive, as it involves locking and rbtree lookups within jemalloc. Reducing the frequency of these calls can yield significant performance improvements. --------- Co-authored-by: oranagra <oran@redislabs.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| jemalloc | ||
| msvc_compat | ||