The compiler can't optimize the ``` size() ``` call out because even though it's constant locally, another function may access the tokens via non-const and change the size.