Re: Couple of questions about sequences
- Posted by mattlewis (admin) Aug 12, 2014
- 1354 views
Nevla said...
However my question is not being answered: how do I manage efficiently a lookup table that matches named variables with sequence indexes?
I don't think I've ever done what you propose. If I decide to have a sequence be some sort of structured data, the structure is static. If I want it to be polymorphic, then the changes happen after the common data so that the enumerations of indices is still actually static.
Otherwise, I'd probably use a map.
Matt