use java hash maps because apparently scala hash maps are just twice as slow for no reason? cool...