[commit: ghc] master: SrcLoc: Eliminate constructors of RealSrcSpan (987426c)
ben at well-typed.com
Sat Dec 19 11:51:13 UTC 2015
Simon Peyton Jones <simonpj at microsoft.com> writes:
> Does this change yield any benefits? Eg. if we can now unbox SrcLoc does something go faster?
Compiler allocations in the testsuite decrease between 0 and 1% .
Moreover, it still seemed like a reasonable clean-up given it is a
net reduction in code length with no loss of clarity.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 472 bytes
Desc: not available
More information about the ghc-devs