-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Increase Remote batch size The remote batch size has not changed since the fast path optimisations. The optimisations mean we are checking the queue considerably less often, so the batch should be larger. This has a dramatic improvement on performance on a few of the mimalloc microbenchmarks. It is set to 4096 as this should cover the worse case scenario of only remote deallocation at 16 bytes for the 2^16 slab size. * Fixes for Clang-10 Clang-10 outputs a warning for calling alignment intrinsic with an alignment of 1. At add constexpr to handle this case.
- Loading branch information
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ namespace snmalloc | |
#ifdef USE_REMOTE_BATCH | ||
REMOTE_BATCH | ||
#else | ||
64 | ||
4096 | ||
#endif | ||
; | ||
|
||
|