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 memory footprint when handling large hosts sets #207

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

kroosec
Copy link
Contributor

@kroosec kroosec commented Mar 27, 2019

Use a dynamic array for gvm_hosts instead of doubly-linked lists.

This substantially improves handling of large sets of hosts.
ie. With a "10.0.0.0/8" hosts string, memory footprint is reduced from
1.33GB to 0.9GB. Other operations times such as creation and shuffling
are also slightly faster.

This substantially improves handling of large sets of hosts.
ie. With a "10.0.0.0/8" hosts string, memory footprint is reduced from
1.33GB to 0.9GB. Other operations times such as creation and shuffling
are also slightly faster.
@kroosec kroosec requested review from jjnicola, ArnoStiefvater and a team March 27, 2019 08:01
@kroosec kroosec mentioned this pull request Mar 27, 2019
@jjnicola jjnicola merged commit 658a4fd into greenbone:master Mar 28, 2019
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