> But I am still missing something, why is the performance so different?
> Code layout putting the constructors' body in the reverse order they
> are called?

Yes, as I understand it. Cache and TLB prefetching works better when
code executes from lower to higher addresses than when executing from
higher to lower.

-cary

Reply via email to