Changed from zero-value check to existence check for clearer intent. Both approaches have similar performance characteristics for map lookups, but using 'ok' makes it explicit we're checking for key presence. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>