less
less copied to clipboard
Use hash table for block lookups in sync_logfile
After trying to save a 12 GB pipe buffer, I found less writing out data at ~100 kB/s with no way to recoverably interrupt. Attached gdb, had a look at the code, and thankfully the fix was obvious.