[wx-dev] inline virtual functions problems on the iphone
.... [solved, sort of]
Stefan Csomor
csomor at advancedconcepts.ch
Thu Jul 17 11:24:17 PDT 2008
Hi Vadim
> Second, I'm surprised
> to hear that turning off Thumb can decrease the performance -- from what I
> thought (and this seems to be confirmed by the article you linked to in the
> previous message), Thumb optimizes code size at expense of performance,
> i.e. performance should be better without using it.
>
> OTOH for wx it's almost certainly the code size which counts so it would
> be still better to use Thumb if possible presumably...
you are right, I must have mixed up different articles, I guess the
trade-off depends on the situation, I've read about the faster instruction
fetch ie 2 / cycle, so that memory bandwidth is reduced, perhaps this also
influences the cache usage, but if you have frequent branches, then it is
less optimal ...
Best,
Stefan
More information about the wx-dev
mailing list