[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSMime -setDefaultCoding
From: |
Richard Frith-Macdonald |
Subject: |
Re: GSMime -setDefaultCoding |
Date: |
Mon, 21 Mar 2005 20:10:17 +0000 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2005-03-21 15:56:38 +0000 Adrian Robert <address@hidden> wrote:
Hi,
[from base ChangeLog]
---------------------
2005-03-11 ...
* Source/Additions/GSMime.m:
* Headers/Additions/GNUstepBase/GSMime.h
Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.
....
2005-03-15 ...
* Source/Additions/GSMime.m: Mark ([setDefaultEncoding:]) as deprecated
rather than just removing it ... in case someone has started using it.
---------------------
Could we drop this method completely instead of deprecating? It
was only in (non-deprecated) existence for 4 days. Whatever code
has been written using it was recently written, and is presumably
fresh enough in people's minds for rewriting to not be a problem.
OK ... I found and (I think) fixed the only place using this method. The
performance gain from using the faster method when parsing a web page was a
tiny, fraction of a percent of a percent ... just optimising header parsing
a bit dwarved the gain by a few orders of magnitude!
Anyway, I've removed it from GSMime.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using the GPG bundle for GNUMail
iD8DBQFCPyopE6AJp3nmKIkRAlLMAJ9ZqW/sb2C49hr4BwyCq+TU7pPOdACg3lmt
BkZpr7jr1NJ5/dYaZoDNM0o=
=ITER
-----END PGP SIGNATURE-----