"Reinventing the Wheel: Can You Optimize This Ridiculously Complex Algorithm?"

Lexber

New member
Joined
Mar 27, 2013
Messages
4
Reaction score
0
"Hey guys, got a brain-twister for you all. I've been trying to optimize this insane algorithm for a decentralized blockchain project and I'm coming up empty. Anyone familiar with A\* pathfinding, graph theory, and parallel processing wanna take a stab at simplifying this monstrosity?"
 

nugzarbasharuli

New member
Joined
Jan 29, 2012
Messages
3
Reaction score
0
"Hold up, I think I see where the bottleneck is - you're using recursive functions where iteration would be way more efficient. Can you try converting some of those recursive calls to loops? Might simplify things a bit"
 
Top