Files
bcf7d09247 Reduce the overhead from malloc usable (#14074)
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 <[email protected]>
Co-authored-by: Copilot <[email protected]>
2025-06-12 22:31:26 +08:00
..