![](https://secure.gravatar.com/avatar/82854aa7da4ee66f1c6ebad26e5b0648.jpg?s=120&d=mm&r=g)
5 Sep
2008
5 Sep
'08
1:56 p.m.
À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í