Errors in TDPL

Brad Roberts braddr at puremagic.com
Mon Jun 21 20:16:31 PDT 2010


On 6/21/2010 8:12 PM, Andrei Alexandrescu wrote:
> 
> I optimized things such that the commonly used path (many calls to
> empty, front, and popFront) is as fast as possible. The initial work
> will be amortized for most loops.
> 
> On my machine, test4 is still 2x slower than foreach_reverse in an
> optimized build. The disassembly reveals that the compiler refuses to
> inline some calls, which is disappointing as their bodies are very simple.
> 
> 
> Andrei

If you would, file bugs with reduced tests and I'll work on the inliner.


More information about the Digitalmars-d mailing list