9point6, 8 months ago Absolute value: if less than zero multiply by -1 Is Odd: if modulo 2 is 1 At most both of those are a 3-4 (x86) CPU instructions. There’s no way any regex engine is going to be remotely equivalent if we’re talking about efficiency. I always had a suspicion you perl guys were crazy
Absolute value: if less than zero multiply by -1
Is Odd: if modulo 2 is 1
At most both of those are a 3-4 (x86) CPU instructions. There’s no way any regex engine is going to be remotely equivalent if we’re talking about efficiency.
I always had a suspicion you perl guys were crazy