Hacker News new | ask | show | jobs
by BuzzwordBingo 2012 days ago
Looks like a for loop iterating over each pixel one row at a time.

What makes this fast?

3 comments

It's fastest because others are slower. It doesn't necessarily mean it's fast :)
It does at least parallelize the work across available cores.
This is the line that makes the difference:

https://github.com/n7olkachev/imgdiff/blob/master/pkg/imgdif...

Dunning-Kruger syndrome, probably.