Skip to content

v2: move module scoped vars to segments when appropriate#8388

Draft
wmertens wants to merge 1 commit intobuild/v2from
v2-move-module-scope
Draft

v2: move module scoped vars to segments when appropriate#8388
wmertens wants to merge 1 commit intobuild/v2from
v2-move-module-scope

Conversation

@wmertens
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2026

⚠️ No Changeset found

Latest commit: 339702f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

@maiieul maiieul moved this to In progress in Qwik Development Feb 25, 2026
@wmertens wmertens changed the base branch from main to build/v2 February 25, 2026 07:50
@wmertens wmertens force-pushed the v2-move-module-scope branch from c6aab68 to 9200b9c Compare February 25, 2026 07:51
@promptless-for-oss
Copy link

@wmertens ℹ️ Promptless reviewed this request and did not find a docs change to propose.

@wmertens wmertens force-pushed the v2-move-module-scope branch 2 times, most recently from 9c959b5 to 27d233d Compare February 25, 2026 13:50
@wmertens wmertens force-pushed the v2-move-module-scope branch from 27d233d to 339702f Compare February 25, 2026 13:56
Copy link
Member

@maiieul maiieul left a comment

Choose a reason for hiding this comment

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

Does this fix a bug? Please add a bit of context 🙏

@wmertens
Copy link
Member Author

@maiieul it's a perf change, moving the qrl creation as far up the scope as possible. That way, we create less objects and everything is faster

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

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants