diff options
author | Linnea Gräf <nea@nea.moe> | 2024-06-12 19:49:10 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-06-12 19:49:10 +0200 |
commit | d1738866ab1101ea847d2fa1505e323d75c2b10a (patch) | |
tree | 36fd9e0888872475543181d03fc79626d76dd450 /src/main/java/moe/nea/caelo/config/OptiCache.kt | |
parent | 056f85b223bc106197c0a7dfea6b8ba2a4bc8a93 (diff) | |
download | veloxcaelo-d1738866ab1101ea847d2fa1505e323d75c2b10a.tar.gz veloxcaelo-d1738866ab1101ea847d2fa1505e323d75c2b10a.tar.bz2 veloxcaelo-d1738866ab1101ea847d2fa1505e323d75c2b10a.zip |
Add regex cache
Diffstat (limited to 'src/main/java/moe/nea/caelo/config/OptiCache.kt')
-rw-r--r-- | src/main/java/moe/nea/caelo/config/OptiCache.kt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/main/java/moe/nea/caelo/config/OptiCache.kt b/src/main/java/moe/nea/caelo/config/OptiCache.kt index 365ce2d..e18680a 100644 --- a/src/main/java/moe/nea/caelo/config/OptiCache.kt +++ b/src/main/java/moe/nea/caelo/config/OptiCache.kt @@ -5,9 +5,15 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean import io.github.notenoughupdates.moulconfig.annotations.ConfigOption class OptiCache { - @ConfigEditorBoolean - @ConfigOption(name = "Enable CIT cache", desc = "Cache CIT property lookups") - @Expose - @JvmField - var citCache = true + @ConfigEditorBoolean + @ConfigOption(name = "Enable CIT cache", desc = "Cache CIT property lookups") + @Expose + @JvmField + var citCache = true + + @ConfigEditorBoolean + @ConfigOption(name = "Enable RegExp cache", desc = "Cache RegExp compilation") + @Expose + @JvmField + var regexCache = true } |