TLDR Web Dev · ARTICLES & TUTORIALS
COUNTING BYTES FASTER THAN YOU'D THINK POSSIBLE
Summary from the TLDR Web Dev newsletter
This author participated in a coding challenge to count the occurrences of a specific byte in a large stream of data and found that interleaving the processing of successive 4K pages significantly improved the performance by utilizing the Streamer prefetcher in the Intel processor.