2 ms·
Some fun things I've figured out: * https://github.com/fastfloat/fast_float https://github.com/fastfloat/fast_float <-- for fast float/double conversion * fro
by mettamage 6y ago
Some fun things I've figured out:
* https://github.com/fastfloat/fast_float https://github.com/fastfloat/fast_float <-- for fast float/double conversion
* from_chars() for fast integer conversion (though I benchmarked a few that were slightly faster but probably less robust), see https://en.cppreference.com/w/cpp/utility/from_chars https://en.cppreference.com/w/cpp/utility/from_chars
* https://github.com/simdjson/simdjson https://github.com/simdjson/simdjson <-- apparently the fastest JSON library
It's hard to program normal anymore, for every little thing I ask myself "but I want it faster!" TypeScript was so much easier, other than O(n) and friends, I never cared xD