[TUHS] Moto and MMU issues -- was Unix & Memory Management Units (MMU)

arnold at skeeve.com arnold at skeeve.com
Fri Dec 9 22:13:19 AEST 2016

Getting a bit off topic...

schily at schily.net (Joerg Schilling) wrote:

> For today, numbers definitely look different. 30% of the total amount of CPU 
> time spend by the Bourne Shell is spend by the conversion from multy-byte 
> strings to wide strings and vice versa. BTW: "dash" is faster than bash just 
> because it does not imlement multy-byte support. If it did, it would become 
> slower than bash.

Interesting. Gawk stores everything in multibyte form and only converts
to/from wide characters when needed (length, substr, match, a few others).

I don't have timings either way, but I'm pretty sure that gawk doesn't
spend anything like 30% of its time doing those conversions. :-)


More information about the TUHS mailing list