inlining
spir
denis.spir at gmail.com
Tue Dec 7 03:05:28 PST 2010
Hello,
Does dmd inline when appropriate (eg single-line func)? or is there a hint keyword? or what else?
Eg how to have this inlined:
private bool isPrecomposedHangulSylable (Code code) {
/** whether code is a precomposed Hangul syllable ;-) */
return (code >= FIRST_HANGUL_SYLLABLE) && (code <= LAST_HANGUL_SYLLABLE);
}
Thank you,
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
spir.wikidot.com
More information about the Digitalmars-d-learn
mailing list