0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 08:06:49 -05:00
forgejo/modules/analyze
zeripath ff460ca74d
Speed up enry.IsVendor (#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>
2021-04-01 19:41:09 +02:00
..
code_langauge.go
vendor.go Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00
vendor_test.go Speed up enry.IsVendor (#15213) 2021-04-01 19:41:09 +02:00