सभी किताबें

पेशेवर

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

Quantitative Finance · शब्दावली

Cold path क्या है?

Definition 7.5 Low-Latency Software · अध्याय 7 — C++ for Latency II: Compile Time

A cold path is code that runs rarely (error handling, logging of an anomaly, recovery). Keeping it out of the hot function, by marking the rare branch [[unlikely]] and the rare function cold and noinline, keeps the hot code small and contiguous in the instruction cache, with the common case falling through.

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