Re: [Boost-users] [MultiIndex] re-indexing on load

Mark Westcott escribi?:
Hi Joaquin.
[...]
I think, for the time being at least, the performance is ok now (using ordered rather than hashed indices). Is there any chance that future versions of MI might be able to store the hashes/complete ordering whilst serializing, or is that Just Not Possible (TM)?
I think this would pose problems, as hashes are not guaranteedly platform portable, so storing them transparently to the user could trigger subtle bugs.
But maybe for your particular applicatin you can consider caching the hash values --from your description, this can not only accelarate serialization, but also the general lookup ops, given that your hash algorithm is expensive.
This is very neat! Thanks a lot for the suggestion/code. Mark
participants (1)
-
Mark Westcott