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 ESI tags replacements #369

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Conversation

schlessera
Copy link
Collaborator

This is a follow-up PR to #343, which I inadvertently merged to quickly.

This PR optimizes the regex replacements so that they are "queued" and executed with a single iteration of the regex engine, which should be more efficient.

@schlessera schlessera requested a review from ediamin October 1, 2021 09:16
@schlessera schlessera added the DOM label Oct 1, 2021
@schlessera schlessera added this to the 0.8.0 milestone Oct 1, 2021
Copy link
Collaborator

@ediamin ediamin left a comment

Choose a reason for hiding this comment

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

That's brilliant. Thanks.

@schlessera schlessera merged commit c974ef7 into main Oct 4, 2021
@schlessera schlessera deleted the fix/esi-tag-variable-name branch October 4, 2021 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants