mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-21 05:09:35 -05:00
Just allocate the parent array and pass it to HashSet; having an ICollection, prevents resizing repeatedly and gc'ing the temp array is cheap. Actually, only create a hashset if we're adding a gift from external DB. Saves on that allocation, and keeps the final result as an array (fastest iterating). |
||
|---|---|---|
| .. | ||
| EncounterEggGenerator.cs | ||
| EncounterEggGenerator2.cs | ||
| EncounterSlotGenerator.cs | ||
| EncounterStaticGenerator.cs | ||
| EncounterTradeGenerator.cs | ||
| MysteryGiftGenerator.cs | ||