3 ms·
On a large file with many duplicates, seen[x]++ can overflow, unless you're using GNU Awk with bignums (gawk -M).
by kazinator 9y ago
On a large file with many duplicates, seen[x]++ can overflow, unless you're using GNU Awk with bignums (gawk -M).
- asicsp 9y agothat's a good point I'll add a note, thanks :)