From: arnold@skeeve.com (arnold@skeeve.com)
Subject: [TUHS] Moto and MMU issues -- was Unix & Memory Management Units (MMU)
Date: Fri, 09 Dec 2016 05:13:19 -0700 [thread overview]
Message-ID: <201612091213.uB9CDJSl009834@freefriends.org> (raw)
In-Reply-To: <584a869c.oO1JvvacT4DqiEYq%schily@schily.net>
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
prev parent reply other threads:[~2016-12-09 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 16:29 Clem Cole
2016-12-08 16:38 ` Ron Natalie
2016-12-08 17:12 ` Chet Ramey
2016-12-09 10:25 ` Joerg Schilling
2016-12-09 11:20 ` Paul Ruizendaal
2016-12-09 12:13 ` arnold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201612091213.uB9CDJSl009834@freefriends.org \
--to=arnold@skeeve.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).