DNS Infrastructure & Naming Conventions
The oldest trick in the ASCII book

The oldest trick in the ASCII book

4/12/2015 · John Graham-Cumming

What this post added

This post introduces a low-level optimization technique for case-insensitive string comparison using bitwise AND operations (AND 0xDF). This technique is particularly relevant for high-performance scenarios like processing millions of DNS packets per second, where efficient filtering decisions are crucial. It highlights how understanding ASCII character encoding can lead to significant performance gains in network protocols that use USASCII characters.

Read the original post ↗