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

O(n) instead of O(n^2) string concactenation #54

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

ccuser44
Copy link
Contributor

@ccuser44 ccuser44 commented Nov 6, 2024

Ported my optimisation from FiOne #19

TLDR; concat function is always faster even with pcall (at least in Luau) Rerumu/FiOne#19 (comment)

Copy link
Member

@TheGreatSageEqualToHeaven TheGreatSageEqualToHeaven left a comment

Choose a reason for hiding this comment

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

LGTM

@TheGreatSageEqualToHeaven TheGreatSageEqualToHeaven merged commit d75748c into rce-incorporated:main Nov 6, 2024
1 check passed
@ccuser44 ccuser44 deleted the patch-1 branch November 6, 2024 19:33
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.

2 participants