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

Suggestion #1

Closed
mscdex opened this issue Dec 29, 2015 · 1 comment
Closed

Suggestion #1

mscdex opened this issue Dec 29, 2015 · 1 comment

Comments

@mscdex
Copy link

mscdex commented Dec 29, 2015

When giving (especially performance-related) tips, any GC-related implications should be noted. For example, the sample tip in the readme shows a "faster" arr.unshift() by concatenating arrays. If this operation is performed very often, the GC will be collecting a bunch of temporary arrays that are immediately discarded.

@loverajoel
Copy link
Owner

Hey @mscdex thanks, yes you are right I will take care about it for the next tips.
Thanks for your tip 😄

loverajoel pushed a commit that referenced this issue Jan 3, 2016
New tip for jstips - Improve Nested Conditionals
sjfkai added a commit that referenced this issue Feb 1, 2016
sjfkai pushed a commit that referenced this issue Mar 1, 2016
zenopopovici added a commit that referenced this issue Aug 21, 2016
zenopopovici added a commit that referenced this issue Apr 6, 2017
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

No branches or pull requests

2 participants