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

refactor(*): use kong.tools.string whenever possible #13188

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

bungle
Copy link
Member

@bungle bungle commented Jun 7, 2024

Summary

kong.tools.string has a faster implementation of e.g. strip. This makes our code use
the kong.tools.string whenever possible and removes pl.stringx usage in those cases.

This is a follow-up PR to:
#13168

KAG-4684

### Summary

`kong.tools.string` has a faster implementation of e.g. `strip`. This makes our code use
the `kong.tools.string` whenever possible and removes `pl.stringx` usage in those cases.

Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
@bungle bungle force-pushed the refactor/speed-up-strip-everywhere branch from 3b3f6e2 to fec35cf Compare June 12, 2024 07:54
@bungle bungle merged commit 2488067 into master Jun 12, 2024
25 checks passed
@bungle bungle deleted the refactor/speed-up-strip-everywhere branch June 12, 2024 12:31
@team-gateway-bot
Copy link
Collaborator

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-13188-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-13188-to-master-to-upstream
git checkout -b cherry-pick-13188-to-master-to-upstream
ancref=$(git merge-base 5c34759a96b82b54a81b8d6ffec6ce60ded15cc6 fec35cfccbdf780a3ec2203ed580fa80f1a20020)
git cherry-pick -x $ancref..fec35cfccbdf780a3ec2203ed580fa80f1a20020

@github-actions github-actions bot added the incomplete-cherry-pick A cherry-pick was incomplete and needs manual intervention label Jun 12, 2024
@bungle bungle removed the incomplete-cherry-pick A cherry-pick was incomplete and needs manual intervention label Jun 12, 2024
locao pushed a commit that referenced this pull request Jun 21, 2024
`kong.tools.string` has a faster implementation of e.g. `strip`. This makes our code use
the `kong.tools.string` whenever possible and removes `pl.stringx` usage in those cases.

Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants