On inlining in D libraries
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Sep 9 07:34:43 PDT 2013
09-Sep-2013 18:26, Joseph Rushton Wakeling пишет:
> On 09/09/13 15:01, Dmitry Olshansky wrote:
>> While investigating std.regex performance in Phobos I've found that a
>> lot of
>> stuff never gets inlined (contrary to my expectations).
>
> Is that just with dmd, or with gdc and ldc as well?
For DMD and LDC confirmed. Would be interesting to test GDC but I bet
it's the same (does LTO work here btw?).
On the bright side of things std.regex is real fast on LDC *when hacked*
to inline the critical bits :)
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list