Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyweight Token support for ANTLR4 Lexer Bridge #6120

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

lkishalmi
Copy link
Contributor

@lkishalmi lkishalmi commented Jun 26, 2023

Nothing spectacular here, just got an idea, while reading JavaLexer. It may or may not improve the editor performance. I have done no measurements. Tested with an in-progress version of my HCL Lexer, I haven't noticed any changes, however more complex languages may benefit from this.

@lkishalmi lkishalmi added this to the NB19 milestone Jun 26, 2023
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me.

@lkishalmi lkishalmi merged commit aee53d5 into apache:master Jun 28, 2023
34 checks passed
@vieiro
Copy link
Contributor

vieiro commented Jun 28, 2023

Cool enhancement, @lkishalmi ! Thanks!

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.

None yet

3 participants