Skip to content

Use RandomIndexDB for questlines & entries#130

Merged
Rongmario merged 1 commit into
CleanroomMC:1.12from
jchung01:random-id
Oct 27, 2024
Merged

Use RandomIndexDB for questlines & entries#130
Rongmario merged 1 commit into
CleanroomMC:1.12from
jchung01:random-id

Conversation

@jchung01
Copy link
Copy Markdown

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
@jchung01 jchung01 deleted the random-id branch May 9, 2026 19:16
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