Jörg Bullmann wrote:
>> HotSpot is another pitfall. If you rewrite your code away from common
>> coding patterns, HotSpot may not be able to optimize it as well. That's
>> because HotSpot is basically one big pattern matching engine. At least
>> that's what I read from a Sun engineer. So if you do stuff in uncommon ways
>> it may get worse.
> 
> Oh! Very interesting. I always strive to write minimal and straightforward
> code to keep things as simple as possible, but I am honestly not sure how
> close to 'common coding' I am or how far from it.
> 
> Any any pointers to shed more light on 'common coding' would be very much
> appreciated.
> 
> Cheers, Joerg

see summary of "Performance Myths Exposed" at the bottom of this page:

http://www.ibm.com/developerworks/java/library/j-jone3.html?open&ca=dgr-jw15j-jone3

The full PDF is available here:

http://www.ujug.org/stuff/1522_performance_myths_exposed.pdf

Odi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to