E-Ink News Daily

Back to list

ffi_call_plan caching for GLib

GLib is implementing caching for libffi's 'call plan' to significantly reduce the overhead of GClosure invocations, achieving up to a 25% performance improvement. The update also includes patches to libffi for better frame-pointer support, enabling more effective system profiling via Linux perf.

Background

libffi is a portable foreign function interface library that allows calling functions written in one language from another, often used by dynamic languages and bindings like GObject Introspection.

Source
Lobsters
Published
Jul 25, 2026 at 01:10 AM
Score
6.0 / 10