-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a sync.Pool for ANTLR Lexer / Parser instances (#348)
* Introduce a sync.Pool for ANTLR Parser instances * Introduce sync.Pool instances for the Lexer as well. Note, the change brings in github.com/antlr/antlr4/pulls/2816 which updates the ANTLR Go runtime. Other applications using vendored code, or alternate sources of truth besides the main ANTLR GitHub repository will also need to be udpated for this change to work.
- Loading branch information
1 parent
abf6094
commit f3a4721
Showing
4 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters