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

Speed up first time type lookups #1148

Merged
merged 1 commit into from
Nov 10, 2024
Merged

Conversation

kagenocookie
Copy link
Contributor

My c++ is a bit rusty but I'm not noticing any issues in DD2 on my machine at least.

Context: working on a mod that fetches a lot of types, does some preprocessing and dumps the data into a json cache file. Uncached game startup goes from ~18s -> ~9s with this change. One manual, slower operation goes from ~2+ min to about 2s.

@praydog praydog merged commit d0617bc into praydog:master Nov 10, 2024
13 checks passed
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