HackerTrans
トップ新着トレンドコメント過去質問紹介求人

kabber

no profile record

コメント

kabber
·5 年前·議論
Fast JSON parsers are all fine and good, but take such benchmarks with a grain of salt. JSON, like any format, is useless unless you do something meaningful with it - populate a database, verify the result, or transform it in some useful way for the task at hand. Many of these faster JSON DOM-style parsing libraries store key/value pairs in lists or arrays because it's the most efficient way to do so. But they aren't great at lookup speed. If the JSON parse library is event based, i.e. SAX-style, you have to store it somewhere, and this takes CPU as well.
kabber
·5 年前·議論
When coding in C++ I often thought "Why isn't there an imperative programming language in the preprocessor?"

This was the only thing holding me back from finishing my metacircular TODO app.
kabber
·5 年前·議論
Don't fall for it Python users - Lucy will pull the football away just before you kick it.
kabber
·5 年前·議論
This link https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.
kabber
·5 年前·議論
Why not minify with esbuild instead by default?