News for hackers. Stuff that matters.
Re:Bun 1.1 by dcre on Tuesday April 02, 2024 @01:41AM (#39902732)
That runtime doesn't make any sense. This script creates a 1,000,000 line CSV string and then parses it into JSON in 700ms with Bun, and this is doing both things the slow way, creating the string with a giant array map and join, and parsing with a giant split('\n') on newline and map.

https://gist.github.com/david-crespo/8fea68cb38ea89edceb161d...

There are no comments on this comment yet.