I notice the examples you give are JavaScript.
Sorry I wasn't clear. The examples I gave were speed improvements to a JavaScript interpreter, written in C++.
For example, some C++ compilers are a lot more aggressive about inlining than others. For some of the code I've timed, a change slowed results for a compiler that failed to inline it, but ran quicker for the compiler that was good at inlining.
Yes. That particular issue, difference in inlining, is a major problem for portability of performance optimizations for C++ code that I've encountered too.
-- Darin
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost