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. #199

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.

@kroosec kroosec requested review from jjnicola, ArnoStiefvater and a team March 20, 2019 22:34
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.
@jjnicola
Copy link
Member

It works like a charm!

@jjnicola jjnicola merged commit bb12cb6 into greenbone:master 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