action_by_result_iterate() by cached list
Test on a profiled autogame went from runtime of 2010 sec to 1942 sec with this. While the system where I run this is not extremely strict on avoiding measurement errors in such comparisons, this run was set up to be quite accurate -> speedup this notable could not be explained away as a measurement error.
Current action_by_result_iterate() goes over all actions, and just checks which have the desired actres. Should go over just an precalculated actions list.