On Tuesday, February 03, 2015 11:41:35 via Digitalmars-d wrote: > On Tuesday, 3 February 2015 at 11:33:35 UTC, Mike wrote: > > I don't like "hot/cold" as it does not convey the effect. > > Yeah, I believe LLVM has a register saving calling convention > that is cold_cc, so "cold" would be more suited for functions > that are almost never called.
Well, as far as I can tell, that's pretty much exactly what Walter meant by "hot" and "cold" - how likely they are to be called, with the idea that the compiler could then use that information to better optimize - be it inlining or some other optimization. - Jonathan M Davis