[Gambas-user] New Just-in-time system (2)
Benoît Minisini
g4mba5 at gmail.com
Tue Jun 5 12:04:24 CEST 2018
Hi,
Now I can run all the benchmarks.
The result is equivalent to the old JIT (a bit slower), but far slower
as soon as you access objects.
You actually have almost no gain, because as the translation is done by
the compiler, object access cannot be translated (the interpreter code
is called).
So I plan to do the translation directly from the interpreter (like the
old JIT) to be able to optimize object access. Consequently the startup
time will be a bit slower. Not a lot, as it's the compilation that takes
time.
Regards,
--
Benoît Minisini
More information about the User
mailing list