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

Optimize SQL rewriting by skipping unchanged AST nodes #30

Merged
merged 2 commits into from
May 9, 2024

Conversation

crisptrutski
Copy link
Collaborator

While refreshing my memory on how this worked, I recoiled in horror at this minor inefficiency. I couldn't resist a bit of polishing up at the same time.

A nice side-effect of this optimization is that it removes the hack to ignore the strange phantom nodes that I never got to the bottom of.

@crisptrutski crisptrutski self-assigned this May 9, 2024
Copy link
Contributor

@tsmacdonald tsmacdonald left a comment

Choose a reason for hiding this comment

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

🙏

@crisptrutski crisptrutski merged commit 14014cb into master May 9, 2024
4 checks passed
@crisptrutski crisptrutski deleted the optimize-replace branch May 9, 2024 16:33
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