Inner classes are more expensive, I guess
# announcements
z
Inner classes are more expensive, I guess
k
I've read an article which ran some benchmarks and concluded kotlin lambdas are faster than java lambdas though
z
Do you have a link?
z
Interesting. The cost of the additional class is removed when a singleton instance can be used
r
@Tatskaari There are more implications to it, and Java8 sometimes it doesn’t fallback to use invokeDynamic. Brian Goetz explains why the took those decisions here:

https://www.youtube.com/watch?v=2y5Pv4yN0b0

z
Thank you
t
@rcgonzalezf Thanks, I will read through that. I should mention that I've implemented ahead of time class generation without issue.
👍 1