gitea/modules/indexer/code
zeripath 1a26f6c7ab
Speed up `enry.IsVendor` (#15213) (#15246)
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>
2021-04-02 00:50:12 +02:00
..
bleve.go Speed up `enry.IsVendor` (#15213) (#15246) 2021-04-02 00:50:12 +02:00
bleve_test.go Support elastic search for code search (#10273) 2020-08-30 19:08:01 +03:00
elastic_search.go Speed up `enry.IsVendor` (#15213) (#15246) 2021-04-02 00:50:12 +02:00
elastic_search_test.go Fix bug on elastic search (#12811) 2020-09-12 20:31:52 +08:00
git.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
indexer.go fix: use Base36 for all code indexers (#12830) 2020-09-14 13:40:07 +03:00
indexer_test.go Support elastic search for code search (#10273) 2020-08-30 19:08:01 +03:00
search.go Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
wrapped.go Support elastic search for code search (#10273) 2020-08-30 19:08:01 +03:00