SerenityOS build: Thursday, November 02
Images 💾⌗
- serenity-x86_64-20231102-e02a4f5.img.gz (Raw image, 199.89 MiB)
Last commit ⭐⌗
commit e02a4f518171488a50ed1c4c90472bf605a920c0
Author: Hendiadyoin1 <leon.a@serenityos.org>
AuthorDate: Mon Oct 23 18:59:15 2023 +0200
Commit: Andrew Kaster <akaster@serenityos.org>
CommitDate: Wed Nov 1 17:28:19 2023 -0600
AK: Bring JsonParser's string consumption closer to the ECMA 404 spec
I added some spec comments, and implementation notices, this should not
change behavior in a significant way.
The previous code was quite unwieldy and repetitive.
The long `if(next_is('X'))` chain is now a smaller `switch`.
I also reinstated the fast path for long sequences of literal
characters, which was broken in 0aad21fff2e1335d433de726d269e2693769cd69
Other builds