Daniel Lemire personal blog
Parsing integers quickly with AVX-512
If I give a programmer a string such as "9223372036854775808" and I ask them to convert it to an integer, they might do the following in C++: std::string s = .... uint64_t val; auto [ptr, ec] = std::from_chars(s.data(), s.data() + s.size(), val); if (ec != std::errc()) {} // I have an error ! // val … Continue reading…
- Points
- 163
- HN comments
- 39
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Sep 22, 2023 | Parsing integers quickly with AVX-512 by usdogu | 163 | 39 |