Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up enry.IsVendor #15213

Merged
merged 6 commits into from
Apr 1, 2021
Merged

Speed up enry.IsVendor #15213

merged 6 commits into from
Apr 1, 2021

Commits on Mar 30, 2021

  1. Speed up enry.IsVendor

    `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 go-gitea#15143
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    19d4531 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. add testcase as per @lunny

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    ef15624 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c04f392 View commit details
    Browse the repository at this point in the history
  3. use the already made str

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    ff64a6f View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    936b48b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31ee826 View commit details
    Browse the repository at this point in the history