Skip to content

Conversation

@Menduist
Copy link
Contributor

Useful for chronicles_enabled_topics="*:INFO foo:TRACE"

@Menduist Menduist mentioned this pull request Mar 29, 2023
for matchIndex, ch in match:
if ch == '*':
while strIndex < str.len:
if wildcard(str[strIndex ..< ^0], match[matchIndex + 1 .. ^1]):
Copy link
Member

Choose a reason for hiding this comment

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

[] allocates a new string for every call which would be prohibitively expensive

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants