Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
Re: [zypp-devel] Getting rid of boost::regex !?
- From: Martin Vidner <mvidner@xxxxxxx>
- Date: Wed, 1 Aug 2007 16:22:43 +0200
- Message-id: <20070801142243.GG20211@xxxxxxxxxxxxxxxx>
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/msg00048.html
> 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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
> 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/msg00048.html
> 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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |