$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] complexity problem using multi_index insert()
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-28 08:14:55
> And the problem is that inserting those few elements into the multi_index container takes almost 9 minutes.
<...>
In addition to JoaquÃn's advice: ensure your benchmarks are done in
"release mode", i.e. with full optimization. Besides, if you compile
in MSVC and stl containers are somehow related to this operation, you
might also want to disabe so called "secured stl", which has enormous
impact on the performance: #define _SECURE_SCL 0