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

Use RandomIndexDB for questlines & entries #130

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

jchung01
Copy link

Uses the random index database added in #113 for questline entries (the quests as an entry in a questline) and questlines (the questlines themselves). I believe because quests were changed to use random IDs but the quest entries were not, the bitset idMap in SimpleDatabase that QuestLine extends ends up being sparsely populated and expands to very large sizes, causing excessive memory usage.

Should be a better fix than #129 for specifically questlines, although that PR may still have use in other databases that use SimpleDatabase.

@Rongmario Rongmario merged commit b751e16 into CleanroomMC:1.12 Oct 27, 2024
1 check failed
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