Skip to content

Conversation

@youknowone
Copy link
Member

Disabling full-lexer feature makes parsing Lib/**/*.py 4% faster.

Ruff will need to enable this feature to use Tok::Comment

cc @MichaReiser @charliermarsh

@youknowone youknowone mentioned this pull request May 15, 2023
Copy link
Member

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was mentioned in the past at some point. I think its a good idea to have a feature like this.

Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
@youknowone youknowone merged commit 27e3873 into RustPython:main May 15, 2023
@youknowone youknowone deleted the full-lexer branch May 15, 2023 17:21
@youknowone youknowone mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants