Archipelago/worlds/stardew_valley
black-sliver fc2855ca6d
Stardew Valley: speed up rules creation by 4% (#2371)
* Stardew Valley: speed up rules creation by 4%

No class should ever inherit from And, Or, False_ or True_ and isinstance is not free.
Sadly there is no cheap way to forbid inheritance, but it was tested using metaclass.

* Stardew Valley: save calls to type()

Local variable is a bit faster than fetching type again

* Stardew Valley: save calls to True_() and False_(), also use 'in' operator

* Stardew Valley: optimize And and Or simplification

* Stardew Valley: optimize logic constructors
2023-10-27 18:09:12 +02:00
..
data Stardew Valley: Fix two logic bugs with the wizard on Entrance Randomizer (#2192) 2023-09-17 20:20:18 +02:00
docs Docs: Small typo and proofreading edits (#2078) 2023-09-10 03:30:03 +02:00
mods Core: move option results to the World class instead of MultiWorld (#993) 2023-10-10 22:30:20 +02:00
scripts Stardew Valley: 4.x.x - The Ginger Update (#1931) 2023-07-19 20:26:38 +02:00
strings Stardew Valley: 4.x.x - The Ginger Update (#1931) 2023-07-19 20:26:38 +02:00
test Core: move option results to the World class instead of MultiWorld (#993) 2023-10-10 22:30:20 +02:00
__init__.py Stardew Valley: Use the pre-existing cache rather than ignoring it (#2368) 2023-10-27 12:12:17 +02:00
bundles.py Core: move option results to the World class instead of MultiWorld (#993) 2023-10-10 22:30:20 +02:00
items.py - Fix Stardew valley option that was accidentally renamed in 993 (#2336) 2023-10-21 23:28:07 +02:00
locations.py Core: move option results to the World class instead of MultiWorld (#993) 2023-10-10 22:30:20 +02:00
logic.py - Fix Stardew valley option that was accidentally renamed in 993 (#2336) 2023-10-21 23:28:07 +02:00
options.py - Fix Stardew valley option that was accidentally renamed in 993 (#2336) 2023-10-21 23:28:07 +02:00
region_classes.py Stardew Valley: 4.x.x - The Ginger Update (#1931) 2023-07-19 20:26:38 +02:00
regions.py Stardew Valley: Use the pre-existing cache rather than ignoring it (#2368) 2023-10-27 12:12:17 +02:00
requirements.txt Stardew Valley: Removed Pytest Requirement from everything (#1696) 2023-04-15 05:42:02 +02:00
rules.py Core: move option results to the World class instead of MultiWorld (#993) 2023-10-10 22:30:20 +02:00
stardew_rule.py Stardew Valley: speed up rules creation by 4% (#2371) 2023-10-27 18:09:12 +02:00