forgejo/modules/analyze
zeripath f75a9b27b0
Speed up enry.IsVendor () ()
Backport 

`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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-02 01:16:00 +02:00
..
code_langauge.go Exclude generated files from language statistics () 2020-05-29 09:20:01 +03:00
vendor.go Speed up enry.IsVendor () () 2021-04-02 01:16:00 +02:00
vendor_test.go Speed up enry.IsVendor () () 2021-04-02 01:16:00 +02:00