From kde-core-devel Mon Aug 27 12:45:30 2001 From: Marc Mutz Date: Mon, 27 Aug 2001 12:45:30 +0000 To: kde-core-devel Subject: Re: $KDEDIR/share/config/charsets question X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99891633010116 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 25 August 2001 23:04, Lubos Lunak wrote: > Hello, > > could somebody explain to me why this file exists ? Or maybe the > other way around : Would somebody mind if I simply moved the contents > of this file directly into kcharsets.cpp ? I don't think it's needed > to waste 20kB memory just for a KConfig object in memory that hold > contents of a neverchanging file that's only rarely used ( is it used > also somewhere else than KHTML ? ). AFAIK it's used whenever an app calls KCharset::codecForName(), and at least in KMail and KNode, that's a very often used function. Marc - -- The road is still long. Thank you everybody. Thanks to all who make an effort on behalf of democracy in China. They have come. Goodbye. -- last EMail of Huang Qi, webmaster of 6-4tianwang.com, sentenced in China for posting Party-critical texts. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7ilyu3oWD+L2/6DgRAuJ/AKCvLNmaUdBwgwFApj0+Kh8oMgaEowCgyBZ7 5YHY0RJrynD7AJLZgTeged0= =+BCq -----END PGP SIGNATURE-----