4 ms·
It's a cute idea to cobble together a meta-tracing JIT for sqlite's query interpreter using source extraction and gcc. I think it's basically a local minimum f
by obl 8y ago
It's a cute idea to cobble together a meta-tracing JIT for sqlite's query interpreter using source extraction and gcc.
I think it's basically a local minimum for implementation complexity vs performance though. To push that further you probably need to modify the original interpreter or encode more (any) knowledge about the semantics in the JIT, at which point you lose the main advantage of maintaining only one codebase.
- hinkley 8y agoIt gives you an idea of the sort of gains you might get with a proper JIT. if it had turned out that tracing only gave you a 10% boost then maybe a JIT isn’t the best place to put your time.