Tag
GLib adopts libffi's new ffi_call_plan caching to reduce GClosure invocation overhead by 10-25%, with merge request submitted and frame-pointer patches for profiling.
This article details a performance improvement in libffi, where caching argument placement as a flat list of moves (a 'plan') eliminates redundant reclassification on every function call, offering significant speedups without resorting to JIT compilation.