3 ms·
Very interesting! You should consider having a fast path for long string literal prefixes. You might find DynASM[1] useful, as long as you're not doing dynamic
by Scaevolus 13y ago
Very interesting! You should consider having a fast path for long string literal prefixes.
You might find DynASM[1] useful, as long as you're not doing dynamic register allocation. Here's[2] a good tutorial.
[1]: http://luajit.org/dynasm.html
[2]: http://blog.reverberate.org/2012/12/hello-jit-world-joy-of-simple-jits.html