To avoid confusion with maps (used in levels as geometry), this is about the maps, used to store data.
The maps still lack some crucial functions, notably :
-Make map from 2 arrays
-Set Map Elem
-GetKey and GetValue as pure and reference
-Find returning the index
- Make map from 2 Arrays: At runtime, you can’t just use Make Map (that actually requires you to input keys and index by hand), and since maps are basically two arrays, this makes sense
- Set Map Elem: The current only way to modify a map is to remove the index then add it back, and that has quite a lot of performance overhead. You can’t just do a getValues then Set array Elem, because getValues doesn’t give the reference
- GetKey and GetValue as pure and reference: Why not ? I know it can break the map if you remove an index in the array without removing the same in the other one, but that shouldn’t be an issue, just put a warning on it.
- Find returning the index: It’s a find, and it’s two arrays, so when you’re using one of the arrays, you know where that is.
And this is why I’m not currently using maps but two arrays linked together by code, so that kinda sucks.