全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Object pool, free list?

又称: object pool · free list

Definition 6.5 Low-Latency Software · 第 6 章 — C++ for Latency I: Memory

An object pool pre-allocates storage for a fixed number of objects of one type and recycles it: creating takes a free slot, destroying returns it. A free list is the list of free slots; an intrusive free list stores its links inside the free slots themselves, so it needs no memory of its own.

在原文中阅读 →