Does it (::update) produce new lambda on each invo...
# getting-started
a
Does it (::update) produce new lambda on each invocation like in Java or it's cached somewhere?
e
Just like in Java. This one is capturing (captures
this
), so it is not cached. Non-capturing ones are cached.
i
When used in
also
or other inline functions, callable references are inlined and don't produce lambda at all.
👍 1