CivMC / Civ

Monorepo for development of and running a Civ Server.
MIT License
4 stars 11 forks source link

Replace HashSet with OpenObjectHashSet #385

Closed okx-code closed 6 months ago

okx-code commented 6 months ago

A quick fix for the large memory usage of this object, HashSet uses an empty object as a value of each element in its set, but OpenObjectHashSet doesn't rely on HashMap, has no values, and is therefore more memory efficient.

github-actions[bot] commented 6 months ago

badge

Build Successful! You can find a link to the downloadable artifact below.

Name Link
Commit bfa947ee78d5c26baf25a1e8448e75065c7650b0
Logs https://github.com/CivMC/Civ/actions/runs/8396017192
Download https://github.com/CivMC/Civ/suites/22019086067/artifacts/