You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The malloc family calls requesting less than 16 bytes end up allocating full page (4K) for each call. This is very wasteful and can be easily fixed by tweaking if/else condition in here.
Notes from @Nadav - "When size is tiny, we anyway allocate not "size" but rather memory::pool::min_object_size (see the "max" code below), so we need the alignment to be less than that, not the size."
The malloc family calls requesting less than 16 bytes end up allocating full page (4K) for each call. This is very wasteful and can be easily fixed by tweaking if/else condition in here.
Notes from @Nadav - "When size is tiny, we anyway allocate not "size" but rather memory::pool::min_object_size (see the "max" code below), so we need the alignment to be less than that, not the size."
This issue is discussed in more detail in this mailing group email.
The text was updated successfully, but these errors were encountered: