[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rfc2047-decode-string in C?
From: |
Stefan Monnier |
Subject: |
Re: rfc2047-decode-string in C? |
Date: |
Fri, 10 Sep 2010 15:47:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> Actually, I think Emacs could do with moving more things down into
>> the C layer.
> Speaking of which -- I've been elp-ing Gnus group entry a bit, and Gnus
> spends quite a but of time doing rfc2047 decoding. If I read the
> results correctly, that's a quite significant portion of the time.
> rfc2047-encoding looks like this:
> =?iso-8859-1?q?fo=F2o?=
> There are two encodings -- b and q. The b (base64) is already in C
> (was I the one that put it there? Hm.), but the q isn't
> (quoted-printable), so I'd propose two new C functions:
> `quoted-printable-decode-string' and `rfc2047-decode-string'.
> I can implement them and do some benchmarking?
A version of quoted-printable-decode-string written in C would be
fine, yes. For rfc2047-decode-string, I'd need some convincing evidence
that there is a large benefit.
Stefan "who uses Gnus and sometimes finds it quite slow, tho the main
slowness is when I do gnus-group-get-new-news over IMAP"
- Re: Pushing the `gnus-range-*' functions down into the C layer, (continued)
Re: Pushing the `gnus-range-*' functions down into the C layer, Andy Wingo, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Stefan Monnier, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, joakim, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Lars Magne Ingebrigtsen, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Stefan Monnier, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Ted Zlatanov, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Lars Magne Ingebrigtsen, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Stefan Monnier, 2010/09/11
Re: Pushing the `gnus-range-*' functions down into the C layer, Lars Magne Ingebrigtsen, 2010/09/10
Re: Pushing the `gnus-range-*' functions down into the C layer, Daniel Pittman, 2010/09/10