I get what you&#x27;re saying. But I think there&#x27;s a limit.<p>IME there are platforms (Ruby, JS, others) that have such high method dispatch overhead that the fastest &quot;algorithm&quot; is generally the one with the smallest stack-trace for 99% of problems.<p>It can be a very very very difficult bar to overcome.<p>I&#x27;ve only ever seen algorithm choice play a meaningful role in traditionally fast&#x2F;compiled languages. YMMV.