Tokenization: optimize performance further