PKHeX/PKHeX.Core/Legality/Encounters
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
..
Data Revise Overworld8a application of PIDIV 2022-04-22 21:11:11 -07:00
EncounterMisc Split PKMConverter into multiple classes 2022-04-09 01:39:34 -07:00
EncounterSlot Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterStatic Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterTrade Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Generator Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Information Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Verifiers Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterMatchRating.cs Pre-filter memory mismatch on moves 2021-08-15 14:23:15 -07:00
IEncounterable.cs Expose shiny potential value 2022-01-07 17:48:12 -08:00
IEncounterConvertible.cs Add more xmldoc 2021-02-24 18:08:03 -08:00
IEncounterInfo.cs Add more xmldoc 2021-02-24 18:08:03 -08:00
IEncounterMatch.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
IEncounterTemplate.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
IShinyPotential.cs Move some interfaces to different folder 2022-03-06 12:06:50 -08:00