This commit is contained in:
algonell 2024-09-09 15:58:26 +03:00 committed by GitHub
parent df4f0cbfad
commit 9017b95ff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 59 additions and 59 deletions

View file

@ -84,7 +84,7 @@ static mi_segment_t* _mi_segment_of(const void* p) {
// TODO: maintain max/min allocated range for efficiency for more efficient rejection of invalid pointers?
// search downwards for the first segment in case it is an interior pointer
// could be slow but searches in MI_INTPTR_SIZE * MI_SEGMENT_SIZE (512MiB) steps trough
// could be slow but searches in MI_INTPTR_SIZE * MI_SEGMENT_SIZE (512MiB) steps through
// valid huge objects
// note: we could maintain a lowest index to speed up the path for invalid pointers?
size_t lobitidx;