PKHeX/PKHeX.Core/Saves
Kurt 86d80a7d0b Minor perf improvement for advancing keys
Further improvements can be made if there's a way to have a union struct (4 u16s, lumped u64) that has a simple 4bit diagonal mirror operation on it. Can be at least twice as fast.

Benchmarking with optimizations shows about 80-90% of the prior time taken, so at least a 10% speed optimization

Rarely used, was fun to try and optimize a little more.

Eliminate bounds checks by accessing/setting the highest element, and only index twice instead of 6x.
Eliminate u16 casts by leaving as int type (same result)
Eliminate temp value caching and instead directly write to storage. (no more _0123).

End result looks neat too, since the >> 0's removed looks like a diagonal, like the nibble rotation :D
2021-01-07 20:50:28 -08:00
..
Access Minor tweaks 2021-01-06 23:30:30 -08:00
Blocks Minor clean 2020-12-21 23:37:07 -08:00
Encryption Minor perf improvement for advancing keys 2021-01-07 20:50:28 -08:00
Storage moar is or 2020-12-25 12:30:26 -08:00
Substructures Merge GO IV checks, behavior is now correct 2021-01-05 09:39:50 -08:00
Util Move save crypto types to focused folder 2021-01-07 16:01:34 -08:00
SAV1.cs Skip save sub-type detection if we already it 2021-01-03 18:11:59 -08:00
SAV1Stadium.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV1StadiumJ.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV2.cs Simplify some repeated comparisons with expressions 2020-12-29 00:37:59 -08:00
SAV2Stadium.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV3.cs Use more expression return style 2021-01-01 17:08:49 -08:00
SAV3Colosseum.cs Minor clean 2020-12-21 23:37:07 -08:00
SAV3GCMemoryCard.cs Add save handler abstraction for detecting atypical save formats 2021-01-06 15:46:43 -08:00
SAV3RSBox.cs moar is or 2020-12-25 12:30:26 -08:00
SAV3XD.cs Minor rearranging 2021-01-07 18:05:21 -08:00
SAV4.cs Simplify some repeated comparisons with expressions 2020-12-29 00:37:59 -08:00
SAV4BR.cs Minor rearranging 2021-01-07 18:05:21 -08:00
SAV4DP.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
SAV4HGSS.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
SAV4Pt.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
SAV4Sinnoh.cs Change signatures to use readonly if possible 2020-12-05 06:09:33 -08:00
SAV5.cs Minor clean 2020-12-21 23:37:07 -08:00
SAV5B2W2.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV5BW.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV6.cs Unify concepts with different names 2020-12-10 20:42:30 -08:00
SAV6AO.cs Minor tweaks 2021-01-06 23:30:30 -08:00
SAV6AODemo.cs Minor tweaks 2021-01-06 23:30:30 -08:00
SAV6XY.cs Minor tweaks 2021-01-06 23:30:30 -08:00
SAV7.cs Use more expression return style 2021-01-01 17:08:49 -08:00
SAV7b.cs Use more expression return style 2021-01-01 17:08:49 -08:00
SAV7SM.cs Minor tweaks 2021-01-06 23:30:30 -08:00
SAV7USUM.cs Minor tweaks 2021-01-06 23:30:30 -08:00
SAV8.cs Use more expression return style 2021-01-01 17:08:49 -08:00
SAV8SWSH.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV_BEEF.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
SAV_STADIUM.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SaveFile.cs Minor clean 2021-01-03 16:53:13 -08:00
SaveFileMetadata.cs Fix backup filenaming 2021-01-02 10:34:33 -08:00
SaveFileState.cs Add xmldoc for save meta/state tracking 2020-12-07 19:49:04 -08:00