Boost logo

Boost :

Subject: Re: [boost] Please Help: Experienced very bad performance with Multi-index
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2009-07-29 16:57:33

Hi Robert,

Jarolin, Robert <Robert.Jarolin <at>> writes:

> Below is a sample program that I am running. If I create a multi-index
> as defined below, the performance as the number of entries increases
> gets to the point of being unusable.
> [...]
> #if !defined(NDEBUG)
> #endif

I strongly suspect this is the problem. Are you doing your
performance tests in debug mode? If so, invariant and safe
mode (specially the former) have a huge impact on performance.
They shouldn't be used in production, release mode. Try
either not using these modes or, better yet, testing with
release settings, which in your particular case implies
disabling these modes as well. Please report back.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at