计算机科学 > 程序设计语言
[提交于 2026年5月16日]
标题:Reconsidering "Reconsidering Custom Memory Allocation"
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Programmers using native languages such as C, C++, or Rust can implement custom memory allocation strategies to improve execution time. In their paper titled "Reconsidering Custom Memory Allocation" almost 25 years ago, Berger et al. showed that while per-class allocators provide no significant speedups over a state-of-the-art general-purpose allocator, region-based allocators can improve execution time by allocating and freeing objects in bulk. This paper revisits that work on a modern hardware platform with modern general-purpose allocators to evaluate whether their conclusions still hold. It also augments the benchmark suite with two large real-world applications (Clang and Blender), and introduces a methodology to explore the effect of memory fragmentation on locality in general-purpose allocators. Our results support and extend the original conclusions, demonstrating the locality advantages of region-based custom memory allocators.
提交历史
来自:Nicolas Van Kempen[v1] 2026年5月16日 星期六 18:52:50 UTC