Inlining Ref Functions
dsimcha
dsimcha at yahoo.com
Fri May 15 19:56:47 PDT 2009
== Quote from Michel Fortin (michel.fortin at michelf.com)'s article
> Which makes me think: now that "this" in structs is now a "ref"
> parameter, does that mean that all non-static member functions of a
> struct won't be inlined?
Oddly enough, based on looking at some disassembly, DMD apparently inlines ref in
this special case. Go figure. If there are any explicit parameters that are ref,
though, it doesn't inline.
More information about the Digitalmars-d
mailing list