Why does using by lazy make my Kotlin code slower

后端 未结 0 1167
南方客
南方客 2021-01-03 03:42

I have some code that generates large amounts of instances of a small data class. When I added one lazy property to the class I noticed that creating instances of this class

相关标签:
回答
  • 消灭零回复
提交回复
热议问题