论文标题

快速有效的固定尺寸内存池:无循环,没有开销

Fast Efficient Fixed-Size Memory Pool: No Loops and No Overhead

论文作者

Kenwright, Ben

论文摘要

在本文中,我们研究了一个无环和无内存开销的现成,强大且计算快速的固定尺寸内存池管理器,这些内存非常适合于游戏等时间限制系统。该算法通过利用未使用的内存插槽与无故障索引方案相结合来实现这一目标。我们解释了它如何与直接逐步示例合并合并。此外,我们比较与系统分配器(例如malloc)相比,内存池管理器的速度快的速度。

In this paper, we examine a ready-to-use, robust, and computationally fast fixed-size memory pool manager with no-loops and no-memory overhead that is highly suited towards time-critical systems such as games. The algorithm achieves this by exploiting the unused memory slots for bookkeeping in combination with a trouble-free indexing scheme. We explain how it works in amalgamation with straightforward step-by-step examples. Furthermore, we compare just how much faster the memory pool manager is when compared with a system allocator (e.g., malloc) over a range of allocations and sizes.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源