Remix.run Logo
phire 5 days ago

The existing implementation was already "highly optimised", so it would have had a fast path for short ints (they probably profiled on realistic data sets).

Adding the fast path to the hard-won assembly is just optimising the slow path, and there is little point to optimising it. Complex optimisations are also a form of technical debt, so they are probably better off not integrating it.