Tagged articles
1 articles
Page 1 of 1
Programmer DD
Programmer DD
Sep 8, 2021 · Fundamentals

Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream

This article explores why standard string‑to‑integer conversions become performance bottlenecks in high‑concurrency scenarios and presents a series of increasingly optimized C++ solutions—from native library calls to loop‑unrolled, byteswap, divide‑and‑conquer, and SIMD tricks—demonstrating dramatic speed gains backed by Google Benchmark results.

C++SIMDString Parsing
0 likes · 16 min read
Parse 16‑Digit Timestamps Up to 700× Faster Than std::stringstream