fix to make it build on all platforms

This commit is contained in:
sergeych committed 2025-11-11 23:20:22 +01:00
1 parent d2a930c0e8
commit 28e8648794
4 files changed
+8

No files matched your search

@@ -15,4 +15,6 @@ actual object PerfDefaults {
actual val PRIMITIVE_FASTOPS: Boolean = true
actual val RVAL_FASTPATH: Boolean = true
// Regex caching aligns with JVM behavior on Android (Dalvik/ART)
actual val REGEX_CACHE: Boolean = true
}
@@ -16,4 +16,6 @@ actual object PerfDefaults {
actual val PRIMITIVE_FASTOPS: Boolean = true
// Conservative default for non-JVM until validated
actual val RVAL_FASTPATH: Boolean = false
// Regex caching: disabled by default on JS until validated
actual val REGEX_CACHE: Boolean = false
}
@@ -16,4 +16,6 @@ actual object PerfDefaults {
actual val PRIMITIVE_FASTOPS: Boolean = true
// Conservative default for non-JVM until validated
actual val RVAL_FASTPATH: Boolean = false
// Regex caching: keep OFF by default on Native until benchmarks validate it
actual val REGEX_CACHE: Boolean = false
}
@@ -16,4 +16,6 @@ actual object PerfDefaults {
actual val PRIMITIVE_FASTOPS: Boolean = true
// Conservative default for non-JVM until validated
actual val RVAL_FASTPATH: Boolean = false
// Regex caching: disabled by default on WasmJS until validated
actual val REGEX_CACHE: Boolean = false
}