mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 14:39:31 +03:00
increase thread data cache to32 entries
This commit is contained in:
parent
84334e480a
commit
f17ddc3395
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ typedef struct mi_thread_data_s {
|
|||
// destroy many OS threads, this may causes too much overhead
|
||||
// per thread so we maintain a small cache of recently freed metadata.
|
||||
|
||||
#define TD_CACHE_SIZE (16)
|
||||
#define TD_CACHE_SIZE (32)
|
||||
static _Atomic(mi_thread_data_t*) td_cache[TD_CACHE_SIZE];
|
||||
|
||||
static mi_thread_data_t* mi_thread_data_zalloc(void) {
|
||||
|
|
Loading…
Add table
Reference in a new issue