Skip to content
Snippets Groups Projects
Commit 6178219d authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Optimize find element within radius algo.

 - Use contigiuos memory for start element's nodes.
 - Store sizes of arrays before for-loops.
 - Extract element_in_radius predicate. (This is surprisingly also an optimization.)
 - Revert to depth-first search. Uses vector instead of deque.
parent b85bc1bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment