सभी किताबें

पेशेवर

ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Quantitative Finance · शब्दावली

Small-buffer optimisation, fixed-capacity container क्या है?

अन्य नाम: small-buffer optimisation · fixed-capacity container

Definition 6.6 Low-Latency Software · अध्याय 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.

अध्याय में पढ़ें →