Peter Drake clearwd me up. Python is already using array lists.
My memory must have confused dict with list.

@peterdrake
I think I confused lists and dicts. As python uses dicts for about everything they must be crucial for optimization. Some earlier HN explained why lua dicts are faster than most implementations. after little research I thought, a reimplementation of cpython hash maps would help.
I don't yet know what they did for cpython 3.11

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.