proposal: private module-level import for faster compilation

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 20 10:14:59 PDT 2016


On Wednesday, 20 July 2016 at 17:05:11 UTC, Jack Stouffer wrote:
> IIRC compiler also spends extra work on templates because it 
> doesn't cache the result, so things like isInputRange!(string) 
> could be evaluated hundreds of times for your program.

it does cache that (see template merging), it even causing some 
bugs. yet it is using linear search to find something in cache.


More information about the Digitalmars-d mailing list