Skip to content

perf: use cimap to case insensitively look into maps with 0 allocations#630

Merged
tobiasehlert merged 1 commit intotibiadata:mainfrom
kamilon:dev/kamilon/perflookups
May 5, 2026
Merged

perf: use cimap to case insensitively look into maps with 0 allocations#630
tobiasehlert merged 1 commit intotibiadata:mainfrom
kamilon:dev/kamilon/perflookups

Conversation

@kamilon
Copy link
Copy Markdown
Contributor

@kamilon kamilon commented Apr 22, 2026

use cimap to case insensitively lookup using a map
convert many O(n) lookups (with allocations) into O(1) lookups (with 0 allocations)

@kamilon kamilon requested a review from tobiasehlert April 22, 2026 05:38
convert many O(n) lookups (with allocations) into O(1) lookups (with 0 allocations)
@tobiasehlert tobiasehlert force-pushed the dev/kamilon/perflookups branch from e72bb7b to 29bd104 Compare May 5, 2026 20:03
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

Copy link
Copy Markdown
Member

@tobiasehlert tobiasehlert left a comment

Choose a reason for hiding this comment

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

LGTM

@tobiasehlert tobiasehlert merged commit 3471da9 into tibiadata:main May 5, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants