smallufo 積分 0
That is, the toString() method (as well as equals() and hashCode()) is implemented using an invokedynamic-based mechanism. This is similar to how string concatenation has also been migrated to use invokedynamic in recent Java versions.

這是唯一吸引人的地方,也是目前 kotlin 做不到之處。這算 Oracle 的後發者優勢吧。

這是文章的子討論串,你可以回到上層查看所有討論和文章
IngramChen 積分 0

啊?到時候 kotlin target byte code 設 14 以後不就有了嗎