Skip to content

Comment on Summing ASCII encoded integers on Haswell at almost the speed of memcpyparent

Comments

Why? So long as you know the probabilities and they are tolerable, why?

The challenge is to get the right answer. It's much less interesting if you relax the challenge to no longer require the right answer. Here's a really fast approximate answer: 50000000*(2^31-1)/2

Map vs. territory. The challenge, as defined by the system the competition runs on, is to get 3 correct responses in a row. That's it.

The fact that it's wrong sometimes is a lot less interesting than the probability distribution of wrongness, conditional on magnitude.

Solid point and good example

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.