PKHeX/PKHeX.Core/Legality/Encounters/EncounterSlot
Kurt 69fafcab83 Performance: Slightly reduce allocations in moveset validation (#3460)
* Reuses move parse result objects for each encounter parsed in a LegalityCheck attempt, instead of creating a new object.
* Ensures the objects are never-null, and makes cleanup easier.

Slightly adjusts some other parts of the moveset validation to reduce allocations.
2022-03-12 17:39:00 -08:00
..
GO -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot1.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot2.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot3.cs Performance: Slightly reduce allocations in moveset validation (#3460) 2022-03-12 17:39:00 -08:00
EncounterSlot3PokeSpot.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot3Swarm.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot4.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot5.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot6AO.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot6XY.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot7.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot7b.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot8.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot8a.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot8b.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
IGroundTypeTile.cs Change interface for method call to less restricted 2021-07-13 18:22:04 -07:00
IMagnetStatic.cs SlotNumber/MagnetStatic int->byte 2022-03-06 22:47:03 -08:00
INumberedSlot.cs SlotNumber/MagnetStatic int->byte 2022-03-06 22:47:03 -08:00