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

Memory optimization internal blacklist/whitelist cache #513

Closed
0xERR0R opened this issue May 12, 2022 · 0 comments · Fixed by #514
Closed

Memory optimization internal blacklist/whitelist cache #513

0xERR0R opened this issue May 12, 2022 · 0 comments · Fixed by #514
Assignees
Labels
🔨 enhancement New feature or request
Milestone

Comments

@0xERR0R
Copy link
Owner

0xERR0R commented May 12, 2022

Current implementation of StringCache creates temporarily a string slice of all cached string to sort them. This can be avoid by inserting the string in the sorted order. This would save some RAM on each cache refresh.

Relevant for #470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant