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

Rework gvm_hosts_shuffle() implementation. #200

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

kroosec
Copy link
Contributor

@kroosec kroosec commented Mar 20, 2019

Prior implementation used an O(N^2) routine. This one has O(N) time complexity.

With a /8 network, the routine takes a couple of seconds, instead of multiple hours.

Backport of #199

Prior implementation used an O(N^2) routine. This one has O(N) time
complexity.

With a /8 network, the routine takes a couple of seconds, instead of
multiple hours.
@kroosec kroosec requested review from jjnicola and a team March 20, 2019 22:41
@jjnicola jjnicola merged commit 65ec07b into greenbone:gvm-libs-1.0 Mar 21, 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