H1 2015 Priorities and Bare-Metal Programming
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 14:39:01 PST 2015
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
More information about the Digitalmars-d
mailing list