Yeah, that's what I've been doing in a recent toy project, but it does mean you have to also newtype wrap up the vector and all the methods you use to actually get the benefit. No free lunches!
1 Like
Slotmap could also be used to create a new type for indexing ensuring maps are not mixed up.
1 Like
You know about Free Pascal, right?
1 Like
Yes.