Boost logo

Boost Users :

Subject: Re: [Boost-users] [MultiIndex] documentation for macros
From: ddevienne (ddevienne_at_[hidden])
Date: 2009-09-24 10:25:51


On Thu, Sep 24, 2009 at 7:40 AM, <joaquin_at_[hidden]> wrote:
> BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING
> BOOST_MULTI_INDEX_INVARIANT_ASSERT
>  http://www.boost.org/libs/multi_index/doc/tutorial/debug.html#invariant_check

FWIW, you have to be careful with those. I used to have them on,
and this slowed down the app tremendously, because your hasher is called
n^2 instead of n^1. OTOH, they taught me the importance of informing the
BMI of any changes in the indexed fields by crashing the app ;) --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