LuaJIT Hacking: Getting next() out of the NYI list
Feb 21, 2017Javier Guerra

Summary
This post details efforts to optimize LuaJIT performance by addressing 'Not Yet Implemented' (NYI) features, specifically focusing on the `next()` function used for table iteration. It introduces a new tool called 'loom' for better visualization and analysis of LuaJIT's JIT compilation process, and demonstrates how to improve the compilation of `next()` to avoid performance penalties associated with interpreter fallback.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows