Ticket #1543 (closed experimental: fixed)
Create PARROT_HOT and PARROT_COLD function annotations
|Reported by:||petdance||Owned by:||petdance|
"The hot attribute is used to inform the compiler that a function is a hot spot of the compiled program. The function is optimized more aggressively and on many target it is placed into special subsection of the text section so all hot functions appears close together improving locality."
There's also the cold attribute.
Other compilers likely have optimizations that can be used here as well.