News for hackers. Stuff that matters.
Re:The fastest and shortest algorithm for all well-defined p... by tom_mellior on Wednesday May 26, 2021 @02:28PM (#27294265)
> This causes an interesting problem: how do we switch to the optimised version? JITs don't bother switching calls which are already running

Many JITs can do this. This is called "on-stack replacement" (OSR).

Re:The fastest and shortest algorithm for all well-defined p... by chriswarbo on Wednesday May 26, 2021 @04:58PM (#27296018)
Ooo, didn't know about that, thanks :)