Skip to content
All tags

#realloc

1 posts

The Allocator Invariants Behind In-Place realloc | Stanford CS107 Lecture 23

CS107 Lecture 23 advances the explicit free list to in-place realloc: split a useful remainder when shrinking, absorb free right neighbors when growing, and allocate-copy-free only as a fallback, while preserving both the physical heap and logical list.