News for hackers. Stuff that matters.
Re:How we made JSON.stringify more than twice as fast by MutedEstate45 on Monday August 04, 2025 @04:24PM (#44790957)
I really like seeing the segmented buffer approach. It's basically the rope data structure trick I used to hand-roll in userland with libraries like fast-json-stringify, now native and way cleaner. Have you run into the bailout conditions much? Any replacer, space, or custom .toJSON() kicks you back to the slow path?

There are no comments on this comment yet.