Open
Description
Greedily matching numbers in F90_CONSTANTS_TYPES_RE
is super slow for numbers with many digits.
Kudos to @Jellby and @zaikunzhang for independently discovering this and fixing it as part of their PRs in
2f766f3 and bf41457, respectively.
Since those PRs are not yet merged, I am documenting the issue here for clarity. As one data point, parsing one file with 600 lines containing a lot of numbers went from 12s to 1s after the fix!
Metadata
Metadata
Assignees
Labels
No labels