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

[PG12] Optimised Antlr4ResultHandler initialization #1167

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

Munmud
Copy link
Contributor

@Munmud Munmud commented Aug 19, 2023

This is similar to #1107 as @dehowef approved here.

Description
As mentioned in issue #1106
This pull request aims to optimize the current implementation of the Antlr4ResultHandler initialization process, resulting in improved query processing time and reduced overhead. Currently, for each query made, the Antlr4ResultHandleris repeatedly initialized, leading to unnecessary performance bottlenecks. To address this issue, we propose initializing the handler only once and then reusing it for subsequent queries.

@dehowef dehowef merged commit 7a40d62 into apache:PG12 Aug 21, 2023
6 checks passed
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

2 participants