Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

🐎 Avoid repeated array allocation in ::getDecorations - #6694

Merged
maxbrunsfeld merged 1 commit into
masterfrom
mb-optimize-get-decorations
May 7, 2015
Merged

maxbrunsfeld merged 1 commit into
masterfrom
mb-optimize-get-decorations

Conversation

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

Some good low-hanging 🍒. Screen updates:

Before:
before
300 ms / 3 fps. Spikes at the bottom are GC.

After:
after
20 ms / 50 fps. No GC.

maxbrunsfeld pushed a commit that referenced this pull request May 7, 2015
🐎 Avoid repeated array allocation in ::getDecorations
@maxbrunsfeld
maxbrunsfeld merged commit 055f05c into master May 7, 2015
@maxbrunsfeld
maxbrunsfeld deleted the mb-optimize-get-decorations branch May 7, 2015 20:09
@benogle

benogle commented May 7, 2015

Copy link
Copy Markdown
Contributor

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants