On Sat, 01 Apr 2017 07:39:49 +0000, Stefan Koch wrote: > On Saturday, 1 April 2017 at 02:12:46 UTC, Walter Bright wrote: >> On 3/31/2017 6:33 PM, Jonathan M Davis via Digitalmars-d wrote: >>> [...] >> >> I know. But it is worth it. It should enable D compilers to scale to >> handling very large imports. > > This should be optional and controlled via a switch like --fast-parse ?
I wonder if `dmd -o-` should continue to parse everything (possibly including unittests, which it currently doesn't do) rather than parse lazily. Though it would benefit from a speed increase, it's used to syntax check and would be more useful if it actually does parse everything.