$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Multi-index container] Why insertions into my Multi-index container are so slow?
From: Angel Sunye (angelsunye_at_[hidden])
Date: 2008-09-05 09:56:08
> > Àngel, you're inserting into locals TInProcessList and TRefList, so
> > basically the
> > manual version always works against empty containers. I've changed the
> > code so that these containers are moved out of insert and into main
just
> > as is the case with elMIContainer (code attached). With this change I
> > compiled the code with GCC 3.2 for Cygwin and the following settings:
> > -O3 -DNDEBUG -finline-functions -Wno-inline -ftemplate-depth-128
> > and obtained a RATIO of ~0.28.
Perfect, now multi-index version is quite faster, specially with -O3 flag.
Thank you very much
Àngel Suñé Martí