1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-31 21:52:59 +00:00

Speed up JSON string parsing

We now use Lua patterns to find runs of characters. This makes string
parsing 3-4x faster. Ish - I've not run any exact benchmarks.

Closes #1408
This commit is contained in:
Jonathan Coates
2023-05-04 19:46:40 +01:00
parent 232c051526
commit 0e48ac1dfe
2 changed files with 12 additions and 4 deletions

View File

@@ -47,7 +47,7 @@
],
"depends": {
"fabricloader": ">=0.14.17",
"fabric-api": ">=0.78.0",
"fabric-api": ">=0.80.0",
"minecraft": ">=1.19.4 <1.20"
},
"accessWidener": "computercraft.accesswidener"