PKHeX/PKHeX.Core/Legality/Evolutions
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
..
EvolutionSets Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterOrigin.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EvoCriteria.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EvolutionChain.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EvolutionLegality.cs Trailing commas 2021-08-20 13:49:20 -07:00
EvolutionMethod.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EvolutionTree.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EvolutionType.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
IDexLevel.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00