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

Using string buffer for faster string concatenation #59

Merged
merged 1 commit into from
May 30, 2018
Merged

Using string buffer for faster string concatenation #59

merged 1 commit into from
May 30, 2018

Conversation

daviel
Copy link
Contributor

@daviel daviel commented May 29, 2018

This increases the performance of the script. For more information see https://www.lua.org/pil/11.6.html.
Would love to see string buffers in the whole script for faster development and testing. 👍

Before:

time ./update.sh 

real	0m8,036s
user	0m7,084s
sys	0m0,950s

After:

time ./update.sh 

real	0m4,633s
user	0m4,596s
sys	0m0,038s

@daviel daviel mentioned this pull request May 30, 2018
@rm-code rm-code merged commit d8e988f into love2d-community:gh-pages May 30, 2018
@rm-code
Copy link
Collaborator

rm-code commented May 30, 2018

Thanks 👍

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