vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.91k stars 803 forks source link

refactor[lang]: remove `ASTTokens` #4364

Open charles-cooper opened 1 week ago

charles-cooper commented 1 week ago

What I did

remove asttokens from the parse machinery. brings down parse time (time spent in ast generation) between 40-70%.

How I did it

another way to adjust tokens

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

![Put a link to a cute animal picture inside the parenthesis-->]()