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

Reduce allocations in isMatch in filestore/memstore #5573

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

neilalexander
Copy link
Member

Otherwise long subjects could cause us to make the same reallocations on each call to tokenizeSubjectIntoSlice without reusing the newly sized underlying array for the next call.

Signed-off-by: Neil Twigg [email protected]

Otherwise long subjects could cause us to make the same reallocations
on each call to `tokenizeSubjectIntoSlice` without reusing the newly
sized underlying array for the next call.

Signed-off-by: Neil Twigg <[email protected]>
@neilalexander neilalexander requested a review from a team as a code owner June 20, 2024 12:24
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 9c3b5d4 into main Jun 21, 2024
4 checks passed
@derekcollison derekcollison deleted the neil/ismatch branch June 21, 2024 06:57
wallyqs added a commit that referenced this pull request Jun 21, 2024
Includes:

* #5571 
* #5082
* #5573
* #5574
* #5575
* #5577
* #5578
* #5580 
* #5559 

Signed-off-by: Neil Twigg <[email protected]>
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