News for hackers. Stuff that matters.
Re:"Blackhole" interpreter in PyPy: new optimization in PyPy... by fijall on Monday June 28, 2010 @02:00AM (#1467215)
The thing is in case of tracing you don't record all paths taken, just the one at the hot point. So say you have if that takes every path every second go, the JIT will compile just one path at first. Then the guard will fail every second iteration, hence the blackhole. Of course at some point JIT will realize guard fails often enough and will compile another path, so you'll get a tree. And so on...

There are no comments on this comment yet.