Commit Graph

1 Commits (f75a9b27b0fe291274e8ccd43d2cf7b88375519a)

Author SHA1 Message Date
zeripath f75a9b27b0
Speed up `enry.IsVendor` (#15213) (#15245)
Backport #15213

`enry.IsVendor` is kinda slow as it simply iterates across all regexps.
This PR ajdusts the regexps to combine them to make this process a
little quicker.

Related #15143

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago