Compiling in std.regex affecting performance

Andrew Wiley wiley.andrew.j at gmail.com
Fri Jan 6 22:11:11 PST 2012


On Sat, Jan 7, 2012 at 12:03 AM, Trass3r <un at known.com> wrote:
>> So regex has nothing to do with it. Still, some linkers perform better:
>>
>> $ dmd -c test.obj
>> $ link test.obj
>>
>> Average is ~700usecs. But with ulink:
>> $ ulink test.obj
>>
>> Average is ~380 usecs. Interesting!
>
>
> So much for Optlink being the fastest linker cause it's all written in shiny
> assembler ^^

Well, for one thing, the Optlink that ships with DMD isn't entirely
assembly anymore. You'd have to ask Walter how much he's ported to C
at this point.


More information about the Digitalmars-d mailing list