version bump, better diagnostic on unknown object serialization

This commit is contained in:
sergeych committed 2025-11-11 15:40:00 +01:00
1 parent e8f0846840
commit dc3000e9f7
3 files changed
+9 -8

No files matched your search

+5 -4
View File
@@ -19,12 +19,13 @@ fun naiveCountHappyNumbers() {
import lyng.time
//
// After all optimizations it takes ~120ms.
// After all optimizations it took ~120ms - before.
//
for( r in 1..100 ) {
for( r in 1..900 ) {
val start = Instant.now()
val found = naiveCountHappyNumbers()
println("Found happy numbers: %d time %s"(found, Instant.now() - start))
assert( found == 55252 )
delay(0.1)
}
delay(0.05)
}