PKHeX/PKHeX.Core/Legality/Encounters/Verifiers
Kurt ef3cb34387
Refactor EvoCriteria to be a struct, reduce allocation (#3483)
* Make EvolutionCriteria struct

8 bytes per object instead of 26
Unify LevelMin/LevelMax to match EncounterTemplate
bubble up precise array type for better iteration

* Inline queue operations, less allocation

* Inline some logic

* Update EvolutionChain.cs

* Improve clarity on duplicate move check

* Search reverse

For a dual stage chain, finds it first iteration rather than second.
2022-04-23 21:33:17 -07:00
..
EncounterVerifier.cs Only flag r45 roamer if tile is water 2022-04-23 21:10:09 -07:00
EvolutionVerifier.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
GenerationTraversal.cs Extract generation traversal list fetch to static class 2021-04-17 13:09:09 -07:00
MysteryGiftRestriction.cs Un-nest 3ds console region bitflags 2021-08-02 20:59:40 -07:00
MysteryGiftVerifier.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
VerifyCurrentMoves.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
VerifyRelearnMoves.cs Performance: Slightly reduce allocations in moveset validation (#3460) 2022-03-12 17:39:00 -08:00