Skip to content

Conversation

@privatenumber
Copy link
Contributor

@privatenumber privatenumber commented Mar 31, 2025

Important

This is a PR against #19723, which should be merged first. Review this PR via privatenumber#2

Description

Previously, each chunk maintained its own registry mapping chunk paths to IDs for preloading, reducing string usage to save space. However, this registry was recreated for every chunk, even though a shared utility handled the actual preloading—which seemed like a more suitable place for this logic.

With this change, the chunk path-to-ID mapping is centralized in the shared preload method, eliminating repetitive chunk registries. I expect to see minor size improvements in apps that produce many chunks.

@privatenumber privatenumber force-pushed the singular-chunk-map branch 6 times, most recently from 878f4d8 to 9ec1f7b Compare March 31, 2025 14:05
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.

1 participant