serializable and hashable BitArray. Comparable BitList. Small improvements

This commit is contained in:
sergeych committed 2025-09-26 19:45:28 +04:00
1 parent 2696f1546d
commit 3481a718b1
11 files changed
+80 -14

No files matched your search

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