Skip to content

onlyworlds 0.156.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:19
· 33 commits to main since this release
  • Faster: the depth check before a parse reads a dense file in about half the time of 0.156.1. 0.156.1 made the check linear by stepping through every bracket, quote and backslash in Python, which on many small objects (50,000 of them, 2.2 MB) took 129 ms where 0.156.0 took 54. The strings are now cut out by one pattern that never backtracks, and the brackets left are counted as a running sum: 61 ms on the same file, and still linear on a string left open and full of escaped quotes (17 ms at 1 MB). Its answers were held to 0.156.1's on 500,000 random texts; none differed.