Re: Couple of questions about sequences

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu