String-usage (static const vs. const vs. literal) (forked from: Performance Test Harness)

I was told, that it would be better to use const over String-literals for performance reasons.
The context was the usage of getStyle(...) when instantiating a lot of views inside the Flex-Framework.
Another time I was told, taht static const access is a lot slower then instance const access.

The result shows: for 10'000'000 usages we are talking about a differnce < 200ms total.
This is inside the tolerance of test execution (the results differ about that amount).  

The looser is using literal (most of the times).
But the winner is sometimes static const and sometimes const.

Would there be a better way to test this?

This wouldn't be possible without Grant Skinner's Performance Test class (defined below).
http://www.gskinner.com/blog/archives/2009/04/as3_performance.html

Thanks, Grant!