2dos / DK64-Randomizer

Python script that randomizes various things in DK64. See the readme for current options that are available to be randomized as well as other features.
https://dk64randomizer.com/
MIT License
52 stars 28 forks source link

enable caching for generations #2186

Closed Killklli closed 4 days ago

Killklli commented 4 days ago

This pull request includes several changes to the randomizer module to improve performance and simplify logic checks. The most important changes include the introduction of caching for frequently called functions, the addition of a new helper function for location skipping logic, and various refactorings to streamline the codebase.

Performance improvements:

Code simplification and refactoring:

Bug fixes and minor improvements:

github-actions[bot] commented 4 days ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
22650 13346 59% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
conftest.py 29% 🟢
randomizer/Fill.py 65% 🟢
randomizer/ItemPool.py 68% 🟢
randomizer/Logic.py 83% 🟢
randomizer/Patching/Lib.py 42% 🟢
TOTAL 57% 🟢

updated for commit: 91cf3a1 by action🐍