Skip to content

Commit 55bf6ba

Browse files
committed
Formatter: pass tokens as array instead of vector
Using an array instead of vector eliminates a layer of indirection when accessing the tokens. Interpreter is slow so an extra layer of indirection does not matter much currently (formatting the whole repo takes the same amount of time), but it's still a good practice, and it'll make a difference when we compile it.
1 parent ee22d67 commit 55bf6ba

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed

0 commit comments

Comments
 (0)