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

perf(plugins/jwt): use string.buffer to replace table.concat #12075

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

chronolaw
Copy link
Contributor

@chronolaw chronolaw commented Nov 21, 2023

Summary

As other PRs did, string.buffer can replace table.concat to get more performance.

Reference: #11304 (comment)

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

  • [Implement ...]

Issue reference

Fix #[issue number]

@chronolaw chronolaw marked this pull request as ready for review November 21, 2023 09:58
@chronolaw chronolaw changed the title refactor(plugins/jwt): use string.buffer to replace table.concat perf(plugins/jwt): use string.buffer to replace table.concat Nov 22, 2023
@chronolaw chronolaw added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Nov 23, 2023
@windmgc windmgc merged commit f75482f into master Nov 23, 2023
35 checks passed
@windmgc windmgc deleted the refactor/string_buffer_to_replace_concat branch November 23, 2023 07:18
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee plugins/jwt size/S skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants