
Handle-based maps: Three implementations
In my post “Handles are the better pointers”: An Odin gamedev follow-up I talked about how one can implement a handle-based map in Odin. In this post I want to follow that up by talking about three specific variants of a handle-based map, and highlight what sets them apart. The three variants are available in this repository: https://github.com/karl-zylinski/odin-handle-map NOTE: In the old post I used the term “handle-based array”, I’ve since then switched to saying “handle-based map”....