Skip to content

perf: use hash map for installed packages#7878

Open
calebdw wants to merge 1 commit intorectorphp:mainfrom
calebdw:calebdw/push-vwytuonwkypl
Open

perf: use hash map for installed packages#7878
calebdw wants to merge 1 commit intorectorphp:mainfrom
calebdw:calebdw/push-vwytuonwkypl

Conversation

@calebdw
Copy link
Contributor

@calebdw calebdw commented Feb 3, 2026

Hello!

We can turn a package lookup into O(1) by using a hash map instead of an O(n) with a linear array.

Thanks!

We can turn a package lookup into O(1) by using a hash map instead of an
O(n) with a linear array.
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.

1 participant