Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> > The optimization lore list addresses the major speed weaknesses > Remember that calling a method means specifically storing and > Chris Smith Code size affects the locality of reference of your program. When your locality of reference gets wide, then your program starts getting lots of cache misses, and can slow down dramatically. Method invocation doesn't always involve saving and restoring registers. Depends on the hardware architecture. Some hardware architectures (i.e. Sparc) use register windowing. Inlining doesn't affect readability of the code, unless you're saying that using the word "final" clutters up your code.
Replies: |
Sponsored Links
|