PerformancePitfall

annotation class PerformancePitfall(message: String)

Marks API that could cause performance problems. The code marked by this API is unnecessary slow but could cause slow-down in some cases. Refer to the documentation and benchmark it to be sure.

Constructors

Link copied to clipboard
fun PerformancePitfall(message: String = "Potential performance problem")

Properties

Link copied to clipboard
val message: String

Sources

Link copied to clipboard