Pere Casafont
07/01/2019, 4:43 PMinline operator fun Int?.plus(other: Int?) = if (this != null && other != null) {
this + other
} else {
null
}
Let's say I want to use this in places that are called millions of times per second. Wouldn't the inline
modifier improve performance there as well?kralli
07/01/2019, 4:51 PMPere Casafont
07/02/2019, 9:38 AM