vere
vere copied to clipboard
Aor jet
++aor jet. 10x speed up with this input:
(aor 'aaaaaaaaaaaaaaaa' 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
Please don't merge it just yet: I want to try adding little-endian optimization
I included portable.h in the jet with an endianness check and an optimized version of the jet. It squizzes out ~17% of performance gains in the case of some ridiculous inputs ([a=(crip (reap 1.000.000 'a')) b=(crip ['a' (reap 1.000.000 'a')])])
Looks like the speed up comes from removing shl and and instructions, which I expected to be optimized away in the first version of the jet.