Remote dealloc refactor. (#138)
Improve remote dealloc - Outline the slow path to improve code gen significantly - Handle message queue only on slow path for remote dealloc. - Change remote size to count down 0, so fast path does not need a constant. - Use signed value so that branch does not depend on addition.
This commit is contained in:
committed by
GitHub
parent
31da639f49
commit
76eaf1adad
@@ -22,7 +22,7 @@ namespace snmalloc
|
||||
;
|
||||
|
||||
// Return remote small allocs when the local cache reaches this size.
|
||||
static constexpr size_t REMOTE_CACHE =
|
||||
static constexpr int64_t REMOTE_CACHE =
|
||||
#ifdef USE_REMOTE_CACHE
|
||||
USE_REMOTE_CACHE
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user