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

perf: avoid unnecessarily creating new list on every frame #1708

Merged
merged 1 commit into from Oct 28, 2023

Conversation

ignatz
Copy link
Contributor

@ignatz ignatz commented Oct 27, 2023

… every time.

In my profiles this contributed sometimes several percent. The effect is probably also exacerbated by many layers. Subjectively this felt like a noticeable impact if I trust my noisy environment.

… every time.

In my profiles this contributed sometimes several percent. The effect is probably also exacerbated by many layers. Subjectively this felt like a noticeable impact if I trust my noisy environment.
Copy link
Collaborator

@TesteurManiak TesteurManiak left a comment

Choose a reason for hiding this comment

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

LGTM! Waiting for a second approval before merging.

Copy link
Member

@JaffaKetchup JaffaKetchup left a comment

Choose a reason for hiding this comment

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

The.Lorax-.Let.It.Die.mp4

@JaffaKetchup JaffaKetchup changed the title Build fewer things on every frame. Most notably don't grow a new list… perf: avoid unnecessarily creating new list on every frame Oct 28, 2023
@JaffaKetchup JaffaKetchup merged commit 394dc27 into fleaflet:master Oct 28, 2023
6 checks passed
@josxha josxha added this to the v6.1 milestone Dec 2, 2023
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.

None yet

4 participants