Avoid redundant TokenValue drops in the lexer (#25300)
## Summary If we avoid resetting the lexer value slot when it's already empty, this apparently improves performance by 1-2%. (In optimized builds, this keeps the common case to a discriminant branch instead of re-entering the `TokenValue` drop path.)
C
Charlie Marsh committed
2fd7ed0a164b292869aad84d65fa545f806c8131
Parent: 95eec58
Committed by GitHub <noreply@github.com>
on 5/21/2026, 6:30:48 PM