Open lgarron opened 10 months ago
Using
Vec<[PackedOrientationWithMod; NUM_BYTE_VALUES]>
fortransformation_lookup
has a noticeable negative impact on performance, so that's not a good option. (This was changed in fe3a859.)
Actually, this might not be true! I'm running benchmarks again and it might be within normal variability.
Still worth trying, since it wouldn't take that long to experiment.
Per:
https://github.com/cubing/twsearch/blob/c01a33da913e2c29a8168670bdef0798bdde4eb3/src/rs/packed/orientation_packer.rs#L7-L13
Using
Vec<[PackedOrientationWithMod; NUM_BYTE_VALUES]>
fortransformation_lookup
has a noticeable negative impact on performance, so that's not a good option. (This was changed in fe3a8599b071952af2c4a44cfc26913a472c103f.)We already use a pointer-based
u8
array forPackedKState
, so we could possibly adapt that.