3 ms·
At least in simple cases the compiler will just inline the closure, as if it never existed. There shouldn't be any measurable overhead.
by paavohtl 10mo ago
At least in simple cases the compiler will just inline the closure, as if it never existed. There shouldn't be any measurable overhead.