[zypp-devel] Getting rid of boost::regex !?
Coolo asked whether we can get rid of libboost_regex, as it requires to much memory in the instsys (not libboost_regex but the libraries it requires). As far as I see it will affect: KeyRing Edition Applydeltarpm RpmDb Url / UrlBase CapabilityImpl PublicKey MediaSetAccess plaindir/RepoParser This is pretty vital stuff. Who dares to migrate? -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Dňa St 1. August 2007 13:48 Michael Andres napísal:
Coolo asked whether we can get rid of libboost_regex, as it requires to much memory in the instsys (not libboost_regex but the libraries it requires).
As far as I see it will affect:
KeyRing Edition Applydeltarpm RpmDb Url / UrlBase CapabilityImpl PublicKey MediaSetAccess plaindir/RepoParser
This is pretty vital stuff. Who dares to migrate?
I don't think this is a good idea for 10.3. Stano -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 01 August 2007 13:46:00 Stanislav Visnovsky wrote:
I don't think this is a good idea for 10.3.
Stano
Dirk has a patch against our tree with most of the work done. He knows the patch is not ready because some tests fails. But once they pass? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Dňa St 1. August 2007 14:24 Duncan Mac-Vicar Prett napísal:
On Wednesday 01 August 2007 13:46:00 Stanislav Visnovsky wrote:
I don't think this is a good idea for 10.3.
Stano
Dirk has a patch against our tree with most of the work done. He knows the patch is not ready because some tests fails. But once they pass?
Don't we have enough problems? Check your bugzilla... (I hope this is not there yet ;-) Stano -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 01 August 2007 13:48:47 Michael Andres wrote:
Coolo asked whether we can get rid of libboost_regex, as it requires to much memory in the instsys (not libboost_regex but the libraries it requires).
I have mixed feelings. Certainly 1.5 mb is a lot for a library. Searching google for "boost regex" gives you boost documentatio, while "glibc regex" gives you a full page of bugs, concurrency issues and problems. Also, anyone has performance data? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, Aug 01, 2007 at 01:58:07PM +0200, Duncan Mac-Vicar Prett wrote:
On Wednesday 01 August 2007 13:48:47 Michael Andres wrote:
Coolo asked whether we can get rid of libboost_regex, as it requires to much memory in the instsys (not libboost_regex but the libraries it requires).
I have mixed feelings. Certainly 1.5 mb is a lot for a library.
For replacing: - glibc is smaller - glibc might be faster (but I have not benchmarked. And anyway, if speed matters, we should optimize regexes away completely. Like in CapabilityImpl::parse [*]) Against replacing: - it is not a regression compared to 10.1 or 10.2 - using a different regex engine might cause bugs because of slightly different regex dialects. My conclusion is not to change it for 10.3 [*] http://mailman.suse.de/mlarch//SuSE/zypp-devel/2006/zypp-devel.2006.05/msg00...
For update-status the situation is quite clear. The time is totally dominated by the Boost regex machinery for parsing the capabilities and by the uniquifying of the Capabilities. For the former I already made some suggestions on #zypp which Michael Andres might have already implemented,
-- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Duncan Mac-Vicar Prett
-
Martin Vidner
-
Michael Andres
-
Stanislav Visnovsky