OMG, thanks, it wasn’t my intention to use hashed index there, of course I would use odered_non_unique
From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Dominique Devienne
Sent: Wednesday, November 19, 2014 10:12 AM
To: boost-users
Subject: Re: [Boost-users] More than strange performance test results of Boost.MultiIndex
On Wed, Nov 19, 2014 at 6:00 AM, Ernest Zaslavsky mailto:ernest.zaslavsky@sizmek.com> wrote:
[...] it may happen in production – you will have 5-15 strings across 1M of objects.
Just be aware that for low cardinality of distinct values in many rows, and a non-unique index, you can have much better performance for some access patterns with ordered indices compared to hashed ones. We had such an issue, easily fixed by going to an ordered index. FWIW. --DD