mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
`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. |
||
---|---|---|
.. | ||
Memories | ||
EvolutionRestrictions.cs | ||
GBRestrictions.cs | ||
ItemRestrictions.cs | ||
Locale3DS.cs | ||
Vivillon3DS.cs | ||
WordFilter.cs |