On 15/01/2019 15:13, Joerg Schilling wrote:
BTW: Given that the multi byte support requires sevral conversions between
multi byte chars and wide chars and that these conversions take approx. 30% of
the typical time used by the shell, adding multi byte support to dash would
make it she slowest shell in the universe.

I feel like this shouldn't have been on this list in the first place, but since it is, I think I should respond here:

Having actually implemented this in my fork of dash, I can tell you that this is false. I have already added multi-byte support to the shell outside of the parser in the publicly available version, and have a not-yet-public patch to implement multi-byte character support in the parser as well. Testing on its own configure script, yes, there are faster shells, including yours, but it's still fast, still close to dash, and that's with a fairly simple implementation that focuses more on size than on speed.

Cheers,
Harald van Dijk

Reply via email to