Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Small-buffer optimisation, fixed-capacity container?

Ook bekend als: small-buffer optimisation · fixed-capacity container

Definition 6.6 Low-Latency Software · Hoofdstuk 6 — C++ for Latency I: Memory

A type with a small-buffer optimisation stores small contents inside the object and allocates only for large ones: the GNU implementation of std::string holds up to 15 characters inline. A fixed-capacity container always stores its elements inside the object, up to a capacity fixed at compile time, and refuses to grow beyond it.

Lees in het hoofdstuk →