mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
small optimizations, use bitwise aligne
This commit is contained in:
parent
7c26ce9280
commit
f0530b6a83
9 changed files with 59 additions and 32 deletions
|
@ -12,9 +12,11 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
|
||||
// Empty page used to initialize the small free pages array
|
||||
const mi_page_t _mi_page_empty = {
|
||||
0, false, false, false, {0},
|
||||
0, 0,
|
||||
NULL, 0, 0, // free, used, cookie
|
||||
0, false, false, false, {0}, 0, 0,
|
||||
NULL, 0, // free, used
|
||||
#if MI_SECURE
|
||||
0,
|
||||
#endif
|
||||
NULL, 0, 0,
|
||||
0, NULL, NULL, NULL
|
||||
#if (MI_INTPTR_SIZE==4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue