miha-x64
01/16/2017, 10:46 AMinline
function’s body is being copied to the call-site at compile-time, along with inline lambdas. E. g. openSomeStream().use {}
operates like try (InputStream is = openSomeStream) {}
, with no overhead for creating real JVM methods and/or anonymous classes.