此选项是什么以及如何在运行 ./configure
时启用它?
Should Emacs use a relocating allocator for buffers? no
最佳答案
Any system of dynamic memory allocation has overhead: the amount of space it uses is more than the amount the program asks for. The relocating memory allocator achieves very low overhead by moving blocks in memory as necessary, on its own initiative.
通读configure
脚本,看起来这个内存分配器是在没有更好的内存分配器可用时使用的。特别是,在我的系统上,看起来“Doug Lea 来自 GNU C 库的新 malloc”优先于重定位分配器。
关于emacs - Emacs 中的缓冲区重定位分配器是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26192944/