fix to make it build on all platforms
This commit is contained in:
parent
d2a930c0e8
commit
28e8648794
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user