Re:Parsing integers quickly with AVX-512
by jzwinck on Monday September 25, 2023 @12:47AM
(#37639751)
I agree but it's Daniel not Doug.
Re:Parsing integers quickly with AVX-512
by mattgrice on Monday September 25, 2023 @01:16AM
(#37639883)
you are correct, sir. Sorry to Daniel.
Re:Parsing integers quickly with AVX-512
by benj111 on Monday September 25, 2023 @03:49AM
(#37640705)
I agree with the parent, but from a different angle.
If you need to parse integers so quickly, why are you storing them as decimal strings?
If you're dealing with a massive CSV why not just compile to a more easily parsable format ahead of time?
Re:Parsing integers quickly with AVX-512
by anonymoushn on Monday September 25, 2023 @04:50AM
(#37641030)
Because we receive them over the wire as decimal strings.
Re:Parsing integers quickly with AVX-512
by benj111 on Monday September 25, 2023 @06:52AM
(#37641804)
Define over the wire here then.
The article mentions 0.8gb/s to 1.8gb/s throughput.
If youre downloading something off the internet, the bottleneck isn't going to be converting the strings to ints.
Further if you're downloading that much data, it suggests even more that you should be using a more space efficient representation.
Re:Parsing integers quickly with AVX-512
by anonymoushn on Monday September 25, 2023 @07:11AM
(#37641970)
For trading we focus on latency rather than throughput.
We cannot really accomplish much by telling a bunch of other companies to change the format they use to send data to all of their customers.
And while your comments on DEC-10 and 6-bit bytes might be interesting, there are very few people still working in CS who have seen a DEC-10 outside a museum. I find it always interesting to learn about computers that were obsolete before I wrote my first program, but their performance characteristics were vastly different than what we have today. And current college grads have always lived in a world with 64-bit SIMD machines that can do a scalar multiply in 3-4 cycles.