|
Boost Users : |
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
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