Skip to content

Cache maplist on map start#96

Merged
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:main
Jun 29, 2026
Merged

Cache maplist on map start#96
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:main

Conversation

@br33zy59

Copy link
Copy Markdown
Contributor

\maplist implementation was re-building list fully each time. Slow filesystem pulls meant that could visibly lag the server for a moment each time \maplist was called. This change builds the maplist once on map start and returns cached result from memory instead of doing mid-game work.

\maplist implementation was re-building list fully each time. Slow filesystem pulls meant that could visibly lag the server for a moment each time \maplist was called. This change builds the maplist once on map start and returns cached result from memory instead of doing mid-game work.
@alcachofass alcachofass merged commit f9172d6 into alcachofass:main Jun 29, 2026
1 check 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