From: Miles Bader <miles@gnu.org>
Subject: Re: mm-coding-system-priorities
Date: 25 Mar 2004 00:06:28 +0900 [thread overview]
Message-ID: <871xniz3m3.fsf@tc-1-100.kawasaki.gol.ne.jp> (raw)
In-Reply-To: <v9k71ab8tw.fsf@marauder.physik.uni-ulm.de>
Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
> I've done it in `mm-sort-coding-systems-predicate' (but I don't
> remember exactly why I did it in this way). If you think that your
> solution is better, we may change it.
The difference would seem to be that doing it in
`mm-sort-coding-systems-predicate' ends up doing the mapcar around log-N
times, whereas temporarily rebinding mm-coding-system-priorities just
does it once. I think N is often around ~30-40 if the message contains
any non-ascii characters, so it may be worth changing (though
mm-coding-system-priorities is probably usually fairly short, in which
case each mapcar is not all that expensive).
-Miles
--
80% of success is just showing up. --Woody Allen
next prev parent reply other threads:[~2004-03-24 15:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 14:09 mm-coding-system-priorities Miles Bader
2004-03-24 14:28 ` mm-coding-system-priorities Jesper Harder
2004-03-24 14:47 ` mm-coding-system-priorities Reiner Steib
2004-03-24 15:06 ` Miles Bader [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-07 17:39 charset=macintosh Karl Eichwalder
2003-03-07 18:25 ` charset=macintosh Simon Josefsson
2003-04-01 17:51 ` mm-coding-system-priorities (was: charset=macintosh) Reiner Steib
2003-04-12 19:53 ` mm-coding-system-priorities Lars Magne Ingebrigtsen
2003-04-13 20:44 ` mm-coding-system-priorities Reiner Steib
2003-04-15 21:54 ` mm-coding-system-priorities Lars Magne Ingebrigtsen
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=871xniz3m3.fsf@tc-1-100.kawasaki.gol.ne.jp \
--to=miles@gnu.org \
/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).