2 ms·
> Basically you take the general, composable API functions and generate specific equivalent code that avoids the overhead of dealing with abstract interfaces li
by azth 11y ago
> Basically you take the general, composable API functions and generate specific equivalent code that avoids the overhead of dealing with abstract interfaces like Iterators.
That's pretty cool. Similar to what Rust already does when the compiler elides allocations for chained iterators. I wonder if value type support in the JVM would avoid the need to do this type of code gen.