PKHeX/PKHeX.Core
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
..
Editing Mark encstatic version on init rather than post-init 2021-01-03 16:49:49 -08:00
Game Use more expression return style 2021-01-01 17:08:49 -08:00
Legality Add xmldoc, increase swish util flexibility 2021-01-07 15:34:26 -08:00
MysteryGifts Use more expression return style 2021-01-01 17:08:49 -08:00
PersonalInfo Use more expression return style 2021-01-01 17:08:49 -08:00
PKM Simplify more expressions 2021-01-04 17:31:43 -08:00
Resources Added Bebe's PC Event Flag for DP + Update Gen 3 & 4 translations (#3116) 2021-01-02 21:36:42 -08:00
Ribbons Remove artist ribbon restriction requiring master ribbon 2020-09-23 20:47:48 -07:00
Saves Minor perf improvement for advancing keys 2021-01-07 20:50:28 -08:00
Util Minor rearranging 2021-01-07 18:05:21 -08:00
app.config Converted PKHeX.Core to .Net Standard 2017-05-11 23:34:18 -05:00
PKHeX.Core.csproj Bump PKHeX.Core to C#9 language version 2020-12-21 16:52:11 -08:00