precalculate gnu hash rather than doing it lazily in find_sym inner loop