diff options
author | Bartosz Nitka <niteria@gmail.com> | 2018-02-22 06:44:59 -0800 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2018-03-02 04:41:58 -0800 |
commit | b8f03bbe16af7a09b494a33fbbe523ecd82f1a50 (patch) | |
tree | 0455b9ccf3682e510fc957c92f45341df2c43b96 /packages | |
parent | 2756117bd26c2cb70d3f51954a88b7d7bdf3d3f2 (diff) | |
download | haskell-b8f03bbe16af7a09b494a33fbbe523ecd82f1a50.tar.gz |
Cache the fingerprint of sOpt_P
Before this change we would compute a hash of
all the command line -optP flags once per file.
With a lot of files and many -optP flags, that's a lot
of repeated work.
I added a new Note that explains the approach and rationale.
Test Plan: new test
Reviewers: simonmar, simonpj, bgamari
Reviewed By: simonpj
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #14697
Differential Revision: https://phabricator.haskell.org/D4445
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions