Skip to content

Only Rebuild the Vendor that updated.#11820

Open
delphiactual wants to merge 1 commit into
masterfrom
vendor-recompute-perf
Open

Only Rebuild the Vendor that updated.#11820
delphiactual wants to merge 1 commit into
masterfrom
vendor-recompute-perf

Conversation

@delphiactual

Copy link
Copy Markdown
Contributor

During #11816 and #11819 I noticed a lot of rebuilding with my debug lines, and this a stab a only rebuilding what needs rebuilt

Memoize vendor building per-vendor to avoid full rebuilds on component trickle

On the vendors page, item components stream in one vendor at a time, and each update rebuilt every vendor because toVendorGroups depends on the whole vendors response. Cache each built D2Vendor keyed on its own inputs so a single vendor's update only rebuilds that vendor.

…t trickle

On the vendors page, item components stream in one vendor at a time, and each update rebuilt every vendor because toVendorGroups depends on the whole vendors response. Cache each built D2Vendor keyed on its own inputs so a single vendor's update only rebuilds that vendor.
@delphiactual delphiactual marked this pull request as ready for review June 19, 2026 16:19
@delphiactual delphiactual changed the title Memoize Vendor Building Only Rebuild the Vendor that updated. Jun 19, 2026
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