v0.10.1-SNAPSHOT optimization: Accessor refactored now use more effective ObjRef and slots for locals
This commit is contained in:
1 parent
6ca3e4589e
commit
0b9e94c6e9
17 files changed
+806
-389
No files matched your search
@@ -0,0 +1,9 @@
|
||||
package net.sergeych.tools
|
||||
|
||||
import kotlinx.datetime.Clock
|
||||
|
||||
inline fun bm(text: String="", f: ()->Unit) {
|
||||
val start = Clock.System.now()
|
||||
f()
|
||||
println("$text: ${Clock.System.now() - start}")
|
||||
}
|
||||
Reference in new issue
Block a user