
6 May
2015
6 May
'15
3:28 p.m.
Le 06/05/15 16:41, Boris Rasin a écrit :
So traversing such "unordered" het_collection is indeed faster. Thanks for the data. The question is how useful such container would be in real life if it only supported "unordered" traversal, i.e. did not satisfy requirements of "sequence container"? As I suggested previously, one could add additional internal index container to keep track of linear element arrangement, allowing both linear traversal and fast "unordered" traversal when desired. Does this make any sense?
I suspect this is the role of Boost.MultiIndex :) Vicente