Skip to content

Commit f4e1563

Browse files
authored
Merge pull request #1 from diorszeng/diorszeng-patch-1
Update mimalloc-types.h
2 parents 54b2c35 + 0611058 commit f4e1563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mimalloc-types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ terms of the MIT license. A copy of the license can be found in the file
117117
#define MI_SEGMENT_ALIGN MI_SEGMENT_SIZE
118118
#define MI_SEGMENT_MASK (MI_SEGMENT_SIZE - 1)
119119
#define MI_SEGMENT_SLICE_SIZE (1ULL<< MI_SEGMENT_SLICE_SHIFT)
120-
#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 1024
120+
#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 128
121121

122122
#define MI_SMALL_PAGE_SIZE (1ULL<<MI_SMALL_PAGE_SHIFT)
123123
#define MI_MEDIUM_PAGE_SIZE (1ULL<<MI_MEDIUM_PAGE_SHIFT)

0 commit comments

Comments
 (0)