Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Quantitative Finance · Glosario

¿Qué es Small-buffer optimisation, fixed-capacity container?

También llamado: small-buffer optimisation · fixed-capacity container

Definition 6.6 Low-Latency Software · Capítulo 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.

Leer en el capítulo →