Date: Sun, 28 May 2023 16:05:04 +1000 From: Martin D Kealey <mar...@kurahaupo.gen.nz> Message-ID: <can_u6mvkt14o_tvtznzgdyoqqz_e4uj-auhay+-qo1huvhe...@mail.gmail.com>
| PS: Everyone assumes that "the speed of external executables is the | limiting factor", but it turns out that's not true. It's possible to do | MUCH worse, just using built-in features: Of course it is, In good shell programming, the idea is to determine what is slow enough that using an external program built for the purpose will do better (that is, the overhead of starting it isn't so great that the benefits are lost) compared with when the cost of running an external program dwarfs the cost of what it does, and having a built-in mechanism is better. Simply building everything into the shell, and expecting to to be fast, is lunacy. kre