Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Moving the |\b alternative to the end as |^x is a minor speed optimization, at a zero-byte cost. As an added bonus, we can change this to |^xx to return \$1\$ (instead of \$2\$) for an input of \$1\$ or \$2\$.
Moving the |\b alternative to the end as |^x is a minor speed optimization, at a zero-byte cost. As an added bonus, we can change this to |^xx to return \$1\$ (instead of \$2\$) for an input of \$1\$ or \$2\$.
Moving the |\b alternative to the end as |^x is a minor speed optimization, at a zero-byte cost. As an added bonus, we can change this to |^xx to return \$1\$ (instead of \$2\$) for an input of \$1\$.
add 🐇-output versions and optimize the .NET versions