mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-30 14:23:12 +00:00
6441bdadd8
`Moveset` struct stores 4 moves, and exposes methods to interact with a moveset. `IndividualValueSet` stores a 6 IV template (signed). Performance impact: * Less allocating on the heap: Moves - (8 bytes member ptr, 20 bytes heap->8 bytes member) * Less allocating on the heap: IVs - (8 bytes member ptr, 28 bytes heap->8 bytes member) * No heap pointers, no need to jump to grab data. * Easy to inline logic for checking if moves are present (no linq usage with temporary collections). End result is faster ctor times, less memory used, faster program. |
||
---|---|---|
.. | ||
DreamWorldEntry.cs | ||
EncounterStatic.cs | ||
EncounterStatic1.cs | ||
EncounterStatic1E.cs | ||
EncounterStatic2.cs | ||
EncounterStatic2E.cs | ||
EncounterStatic3.cs | ||
EncounterStatic4.cs | ||
EncounterStatic4Pokewalker.cs | ||
EncounterStatic5.cs | ||
EncounterStatic5DR.cs | ||
EncounterStatic5N.cs | ||
EncounterStatic6.cs | ||
EncounterStatic7.cs | ||
EncounterStatic7b.cs | ||
EncounterStatic8.cs | ||
EncounterStatic8a.cs | ||
EncounterStatic8b.cs | ||
EncounterStatic8N.cs | ||
EncounterStatic8NC.cs | ||
EncounterStatic8ND.cs | ||
EncounterStatic8Nest.cs | ||
EncounterStatic8S.cs | ||
EncounterStatic8U.cs | ||
EncounterStaticShadow.cs |