Re: "dumping" a map

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

In the olden daze, we'd ask Jiri how he did it. <bows head for a moment>

Pretty sure he'd mention "linked lists".

Sequences are marvelous things.

You could

sequence key_key = {} 
sequence key_data = {} 
sequence key_types = {} 
... 
sequence key_x = {} 

and then nest and search and sort the daylights out of them. In strtok, you could not only search/sort by the obvious top level, but nested sub-search/sorts too, in one call.

Sometimes the built-ins in OE are eye candy for one problem, an advertising gimmick, and you code your own for your problem. Maps never solved my problems, everything valuable is always more than "key-data" formats.

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu