[HN Gopher] Parsing integers quickly with AVX-512
___________________________________________________________________
Parsing integers quickly with AVX-512
Author : usdogu
Score : 48 points
Date : 2023-09-22 22:12 UTC (2 days ago)
(HTM) web link (lemire.me)
(TXT) w3m dump (lemire.me)
| nly wrote:
| 17 cycles still seems pretty slow compared to the methods
| explored in this article, which got the result down to 0.75ns (~3
| cycles?) (for integer strings of a known length):
|
| https://kholdstare.github.io/technical/2020/05/26/faster-int...
|
| Most of the overhead is found in dealing with variable length
| input, minus signs, and overflow checking.
| foota wrote:
| I think the technique there is largely covered within the op,
| but it seems like this may be a somewhat well known technique.
___________________________________________________________________
(page generated 2023-09-24 23:00 UTC)