Shallower lazy lookahead probe at L8 (lazyDepth = chainDepth/4)
lazyDepth = chainDepth/2 uniformly, so at L8 every matched position pays a chain-256 walk at pos+1. libdeflate probes its first lookahead at half depth and its second at quarter; with a single probe, half is likely over-deep at the max chain depth. The docstring itself notes the deferral quality a shallower probe gives up is "slack."
Plan
- Sweep
lazyDepth at L8 (chainDepth 512) over the current /2 (256), /4 (128), and /8 (64); measure ratio + matcher ms.
- Adopt the knee. One-line knob, heuristic, re-threading only.
🤖 Prepared with Claude Code
Shallower lazy lookahead probe at L8 (
lazyDepth = chainDepth/4)lazyDepth = chainDepth/2uniformly, so at L8 every matched position pays a chain-256 walk atpos+1. libdeflate probes its first lookahead at half depth and its second at quarter; with a single probe, half is likely over-deep at the max chain depth. The docstring itself notes the deferral quality a shallower probe gives up is "slack."Plan
lazyDepthat L8 (chainDepth 512) over the current/2(256),/4(128), and/8(64); measure ratio + matcher ms.🤖 Prepared with Claude Code