[gobolinux-devel] New Freshen stream
Carlo J. Calica
carlo at calica.com
Wed Jan 9 16:04:04 NZDT 2008
On Jan 8, 2008, at 4:09 PM, "André Detsch" <detsch at gobolinux.org>
wrote:
> On Jan 6, 2008 4:08 AM, Michael Homer <michael at e.geek.nz> wrote:
>> Hi,
>> As mentioned in the dev meeting, I'm redoing Freshen in Python so it
>> can use the system code as much as possible. I have an early draft
>> written (gets list of programs, orders and outputs them) that I've
>> checked in, but I'm not sure I'm doing everything the right way - in
>> particular, calling CheckDependencies to get the set of dependencies
>> seems like it might be inefficient. I've cut the time down for a
>> graph
>> build to around 45s for me (was over 8 minutes, until I figured
>> passing the URL would help). Are there points I could be using the
>> tools code better?
>
> Hi Michael,
>
> First, I think the tsort2 function is not required, as
> CheckDependencies returns an already ordered list. So, it would, as I
> see, just a matter of concatenating the lists returned for
> CheckDependencies of each program to be updated (but avoiding
> redundancies while concatenating).
>
> There are ways of improving the speed for multiple calls of
> CheckDependencies, but I have to take a better look on the code to
> figure out the best way to do it.
>
> Anyway, i think it would be good for us to discuss aspects of the code
> in IRC. I can then explain you better whats going on there, and we can
> discuss improvements, specially in regards to internal API, including
> the structures being used (there is certainly room for improvements,
> as things were added mostly incrementally, and we already have a lot
> more stuff that we had in the first days of GetAvailable). What is the
> best time for you? Weekend?
>
I'd like to be there too. It'd help me get up to speed on the changes
since I've been active. Let me know when works and I'll be there.
More information about the gobolinux-devel
mailing list