why my vector class is alot slower than default vector class.

Pages: 12
I have one more question.
What happens when my optimization is set to maximize speed (/O2) ?

Would my code use more memory or where does it gain speed? what happens?
If there is a good side, there always have to be a bad side.

With that optimization my vector class is faster than default vector and
this is strange since the default vector is created by professionals and then
comes me and beat them with the speed. That doesn't make sense.
Its just too good to be true.
Topic archived. No new replies allowed.
Pages: 12