- New FFI module with object pooling for Vec2, Rect, Timer structs - Integrated FFI into LayoutEngine, Performance, and Color modules - Graceful fallback to standard Lua when LuaJIT unavailable - Added ffi_comparison_profile.lua for automated benchmarking - Comprehensive documentation of gains and real bottlenecks Reality: 5-10% performance improvement (marginal gains) FFI targets wrong bottleneck - real issue is O(n²) layout algorithm See PERFORMANCE_ANALYSIS.md for high-impact optimizations (2-3x gains)
FlexLöve Documentation
This directory contains auto-generated API documentation from LuaLS annotations.
Regenerating Documentation
To regenerate the documentation after making changes:
./scripts/generate_docs.sh
This will:
- Extract version from
FlexLove.lua(single source of truth) - Generate markdown from LuaLS annotations
- Convert to searchable HTML with syntax highlighting
- Create navigation sidebar with search functionality
- Display version in page titles and headers