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

feat: improve performance #60

Merged
merged 1 commit into from
Oct 29, 2024
Merged

feat: improve performance #60

merged 1 commit into from
Oct 29, 2024

Conversation

coryhh
Copy link
Collaborator

@coryhh coryhh commented Oct 29, 2024

No description provided.

@QizhengMo
Copy link
Collaborator

Java standard juc's HashSet implementation is not very memory efficient for storing Integers.

Maybe we can replace Hashset with IntArrarySet from https://github.com/vigna/fastutil?tab=readme-ov-file
or other memory efficient set implementations like GNU trove

@coryhh coryhh merged commit 4aa38cc into main Oct 29, 2024
2 checks passed
@coryhh coryhh deleted the feat/improvePerformance branch October 29, 2024 10:58
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.

3 participants