FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 05-07-2008, 06:10 AM
Fabio Tranchitella
 
Default Britney(2) and dpkg

Hello,

* 2008-05-07 04:51, Guillem Jover wrote:
> Yes, I guess it would be possible, but what should be considered is if
> that would be desirable. britney only cares about a subset of the package
> metadata and does not need to keep the rest in memmory. It also has its
> optimized memory pool handling. Being it a long lived process with a huge
> amount of data to process and keep, any additional unneeded operation or
> data seem like a big problem to me.

I fully agree with you, and the light-reimplementation is probably the best
choice; as I wrote on IRC, I tried to use the apt problem solver for this
purpose and it was something like 1000x slower than the actual
implementation.

Next week I'll try to re-implement the code in a clean and easy-to-read c
extension, let's see if I come up with something fast and working.

> Also as an easy optimization target, you could check how fast (if any) is
> apt's compare version function vs dpkg's one, and replace that call from
> dpkg-lib.cpp.

I'll check it, thanks for the suggestion.

Best regards,

--
Fabio Tranchitella http://www.kobold.it
Free Software Developer and Consultant http://www.tranchitella.it
__________________________________________________ ___________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
 

Thread Tools




All times are GMT. The time now is 03:38 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org