20 Feb
2015
20 Feb
'15
10:31 p.m.
On February 20, 2015 4:59:07 PM EST, Olaf van der Spek
Olaf van der Spek
writes: In that case for a write-only data structure an external ptr vector would make more sense wouldn't it?
What's a "write-only" structure supposed to be useful for? Anyway, s sorted vector is definitely better in terms of memory consumption
On Fri, Feb 20, 2015 at 3:01 PM, Joaquin M Lopez Munoz
wrote: than a single-index multi_index_container.
The data structure is filled once (data read from DB) and then queried lots. Perhaps a flat_map would be better suited.
Perhaps you mean "write once" rather than "write only"? ___ Rob (Sent from my portable computation engine)