Skip to content

MT: Faster animation/model loading - #777

Open
dsesclei wants to merge 1 commit into
themrdemonized:all-in-one-vs2022-wpo-mtfrom
dsesclei:faster-animation-loading-mt
Open

dsesclei wants to merge 1 commit into
themrdemonized:all-in-one-vs2022-wpo-mtfrom
dsesclei:faster-animation-loading-mt

Conversation

@dsesclei

Copy link
Copy Markdown

#776 on the MT branch. Changes shared memory to use a hash map instead of a sorted vector for faster inserts.

@erepb

erepb commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

@themrdemonized non-mt version deserves faster loading too. why close original PR?

qy0214 added a commit to qy0214/xray-monolith-MT-CN that referenced this pull request Oct 24, 2026
Upstream PR themrdemonized#777 (themrdemonized/xray-monolith, MT): smem_container
insertions were an O(n) scan+shift inside a sorted vector, making
model/animation loading quadratic as the container grows. Replaced with
xr_unordered_map lookups (O(1)). Worth a load-time measurement and
long-run/read-save soak before calling it done.

This branch has not been deployed

No deployments
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.

2 participants