A Nearly Quadratic Improvement for Memory Reallocation

Martin Farach-Colton,William Kuszmaul,Nathan Sheffield,Alek Westover
2024-05-21
Abstract:In the Memory Reallocation Problem a set of items of various sizes must be dynamically assigned to non-overlapping contiguous chunks of memory. It is guaranteed that the sum of the sizes of all items present at any time is at most a $(1-\varepsilon)$-fraction of the total size of memory (i.e., the load-factor is at most $1-\varepsilon$). The allocator receives insert and delete requests online, and can re-arrange existing items to handle the requests, but at a reallocation cost defined to be the sum of the sizes of items moved divided by the size of the item being inserted/deleted.
Data Structures and Algorithms
What problem does this paper attempt to address?