Boost logo

Boost Users :

Subject: Re: [Boost-users] More than strange performance test results of Boost.MultiIndex
From: Ernest Zaslavsky (ernest.zaslavsky_at_[hidden])
Date: 2014-11-19 04:03:03


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_at_[hidden]] 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 <ernest.zaslavsky_at_[hidden]<mailto:ernest.zaslavsky_at_[hidden]>> 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net