I have completed a prototype implementation of the code patching mechanism that I have been thinking of these past few days. I won't explain it in this email because it is best to use a drawing to understand how it works. I'm attaching the source code and assembly code for 2 tests I tried. I compared the execution time against spidermonkey and the code is about 2.6 times faster than spidermonkey. It is roughly 30 times faster than Tachyon. Surprisingly, test2 is 20 times faster than V8.
Maxime and Erick, we can talk about it this afternoon.
Marc