Skip to content

use optimized CGIEscape#6778

Merged
enebo merged 8 commits intojruby:masterfrom
ahorek:cgiopt
Aug 20, 2021
Merged

use optimized CGIEscape#6778
enebo merged 8 commits intojruby:masterfrom
ahorek:cgiopt

Conversation

@ahorek
Copy link
Contributor

@ahorek ahorek commented Aug 18, 2021

builds on the top of #6777 that should fix the issue with prepends

see #5949

enebo and others added 8 commits August 17, 2021 14:32
I locally am seeing a random constant not found error after this commit
so I think I am getting close?  Not sure what is up there.

Once this is fully green I will go back to the previous reported issues
marked against 9.3 and hopefully they will all be fixed?
@ahorek
Copy link
Contributor Author

ahorek commented Aug 19, 2021

ok, confirmed locally and relevant tests passed. Even if it's still slower than the recent MRI, this change will improve escape/unescape performance which is important for ERB-like templates by 3 times.

I think we can include it to 9.3, once tests on #6777 are green. Thanks!

@ahorek ahorek requested a review from enebo August 19, 2021 00:12
@enebo enebo added this to the JRuby 9.3.0.0 milestone Aug 19, 2021
@enebo enebo merged commit 63879c5 into jruby:master Aug 20, 2021
@headius headius mentioned this pull request Sep 22, 2021
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.

3 participants