From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnold@skeeve.com (arnold@skeeve.com) Date: Fri, 09 Dec 2016 05:13:19 -0700 Subject: [TUHS] Moto and MMU issues -- was Unix & Memory Management Units (MMU) In-Reply-To: <584a869c.oO1JvvacT4DqiEYq%schily@schily.net> References: <07a801d25171$8b473660$a1d5a320$@ronnatalie.com> <584a869c.oO1JvvacT4DqiEYq%schily@schily.net> Message-ID: <201612091213.uB9CDJSl009834@freefriends.org> 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. :-) Arnold