Compact dict (>=3.6)
56
# было
hash_table = [
('--', '--', '--'),
(542403711206072985, 'two', 2),
('--', '--', '--'),
(4677866115915370763, 'three', 3),
('--', '--', '--'),
(-1182584047114089363, 'one', 1),
('--', '--', '--'),
('--', '--', '--')
]
# стало
hash_table = [None, 1, None, 2, None, 0, None, None]
entries = [
(-1182584047114089363, 'one', 1),
(542403711206072985, 'two', 2),
(4677866115915370763, 'three', 3),
]