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

Use concat for better performance #15635

Merged

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Jul 24, 2017

Use concat for better performance, at higher volumes, the
+= is doing a significant slowdown, sicne it always creates
a new array.

Use concat for better performance, at higher volumes, the
+= is doing a significant slowdown, sicne it always creates
a new array.
@Ladas
Copy link
Contributor Author

Ladas commented Jul 24, 2017

@miq-bot assign @agrare
@miq-bot add_label bug, performance

@miq-bot
Copy link
Member

miq-bot commented Jul 24, 2017

Checked commit Ladas@8edbee2 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@chrisarcand chrisarcand merged commit 60e09b3 into ManageIQ:master Jul 24, 2017
@chrisarcand chrisarcand added this to the Sprint 65 Ending Jul 24, 2017 milestone Jul 24, 2017
@chrisarcand chrisarcand assigned chrisarcand and unassigned agrare Jul 24, 2017
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