diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-28 22:01:58 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-28 23:05:23 -0700 |
commit | e8b4d5fb6ffe18bcb93a86d00fbfb1ed37d0db3b (patch) | |
tree | 632696fa133a3b33fc09ec8f32b2422965c4943d /.flake8 | |
parent | 6dcdb50a3e61af006c372617e7228b2f05958446 (diff) | |
download | spack-e8b4d5fb6ffe18bcb93a86d00fbfb1ed37d0db3b.tar.gz spack-e8b4d5fb6ffe18bcb93a86d00fbfb1ed37d0db3b.tar.bz2 spack-e8b4d5fb6ffe18bcb93a86d00fbfb1ed37d0db3b.tar.xz spack-e8b4d5fb6ffe18bcb93a86d00fbfb1ed37d0db3b.zip |
Performance boost: reduce instantiations of re.Scanner
- Lexer is the same for every Spec parser in spack, so don't build it
every time.
- This improves time to import package.py files a lot, as a Lexer
doesn't have to be constructed for every spc in the packages.
- To concretize dealii:
- Before: ~20 sec
- After: ~6 sec
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions