Skip to content

fix: GlobDistance handles / and * correctly#281

Merged
niemeyer merged 2 commits into
canonical:mainfrom
letFunny:bug-fix-globdistance-slash
Apr 27, 2026
Merged

fix: GlobDistance handles / and * correctly#281
niemeyer merged 2 commits into
canonical:mainfrom
letFunny:bug-fix-globdistance-slash

Conversation

@letFunny
Copy link
Copy Markdown
Collaborator

@letFunny letFunny commented Apr 2, 2026

  • Have you signed the CLA?

As in the other PR, I stumbled upon this bug while optimizing the algorithm. I need the fix to be in before continuing the work on performance.

Fixes the long-standing bug in #63.

@letFunny letFunny added the Bug An undesired feature ;-) label Apr 2, 2026
Copy link
Copy Markdown
Collaborator

@upils upils left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @letFunny, nice little fix. I suggested a couple non-blocking changes.

Comment thread internal/strdist/strdist.go Outdated
Comment thread internal/strdist/strdist_test.go Outdated
@upils upils added the Simple Nice for a quick look on a minute or two label Apr 21, 2026
Copy link
Copy Markdown
Contributor

@niemeyer niemeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for the fix.

@niemeyer niemeyer merged commit 9310192 into canonical:main Apr 27, 2026
18 checks passed
@ROCKsBot
Copy link
Copy Markdown

ROCKsBot commented Apr 27, 2026

Command Mean [s] Min [s] Max [s] Relative
BASE 15.266 ± 0.072 15.112 15.352 1.03 ± 0.01
HEAD 14.864 ± 0.088 14.753 15.003 1.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug An undesired feature ;-) Simple Nice for a quick look on a minute or two

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants