I just lost three hours on stream, debugging an apparently incorrect path finding algorithm... Only to realize after all that time that the problem was a HASHMAP COLLISION, OF ALL THINGS! I am... mad :D
EDIT: can't reproduce it while attempting to hash all possible values to find the collision, so there must be something else at play. I wonder what could explain why switching the map type fixes my code... i'll investigate when i have slept.
