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

Improve substr() performance by avoiding using owned string #13687

Closed
richox opened this issue Dec 8, 2024 · 0 comments · Fixed by #13688
Closed

Improve substr() performance by avoiding using owned string #13687

richox opened this issue Dec 8, 2024 · 0 comments · Fixed by #13688
Labels
enhancement New feature or request

Comments

@richox
Copy link
Contributor

richox commented Dec 8, 2024

Is your feature request related to a problem or challenge?

current substr() implementation uses owned string to create StringArrays, which causes lots of memory fragment and slows down the execution.

Describe the solution you'd like

use StringBuilder to avoid creating owned strings.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant