Tuples are faster than bidirectional dicts