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

chore: inline start and end node properties into effect #12878

Merged
merged 8 commits into from
Aug 17, 2024

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Aug 16, 2024

Profiling this and it seems that this eases pressure on memory usage and GC time by inlining the properties onto the effect itself. This has a noticeable effect in benchmarks too.

Copy link

changeset-bot bot commented Aug 16, 2024

🦋 Changeset detected

Latest commit: 4e2f609

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Rich-Harris
Copy link
Member

I think this needs to be rebased? It seems to have a bunch of unrelated changes

@trueadm
Copy link
Contributor Author

trueadm commented Aug 17, 2024

I think this needs to be rebased? It seems to have a bunch of unrelated changes

Sorry about that, no idea how that happened.

@Rich-Harris Rich-Harris merged commit 19a35c6 into main Aug 17, 2024
9 checks passed
@Rich-Harris Rich-Harris deleted the inline-nodes-effect branch August 17, 2024 14:53
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.

3 participants