[Clam-devel] [PATCH] std::vector operator[] and not calling frameSize()

Roman Goj roman.goj at gmail.com
Fri Jun 15 04:17:01 PDT 2007

> You do well noticing it. Please, resend the mail with a [PATCH] in
> the subject.

Done :)

> At first sight it seems to me that you are getting the
> debug-asserts penalty. Are you sure you are compiling with release=1?

> Again, I'd be puzzled if g++ is not able to inline such a getter! I
> really hope you where compiling in debug mode.

Bashing my head on the wall :)
Recompiled with release=1 ... and my "optimizations" actually made the
code 1s slower (statistical error (I hope) )... guess it's back to the
ol' drawing board for me then... :)

Oh well - it was nice thinking for a minute there that something could
actually get optimized this easily ;)


More information about the clam-devel mailing list