[osgeo4w-dev] genini fix

Jürgen E. Fischer jef at norbit.de
Tue Aug 4 14:15:01 EDT 2009

Hi Frank,

On Mon, 03. Aug 2009 at 10:35:04 -0400, Frank Warmerdam wrote:
> I find genini very slow, and at some point I'd like to rewrite it in some
> more efficient form.  I'm not really sure what part is the slow part.  But
> Currently the genini step often times out on me if anything else is happening
> on the machine at the same time.

I added some comments.

The problem is that the md5sums of the packages are recalculated on each run.
That's taking >90% of the time.

#100 now has a patch that saves the md5sums along with timestamp and filesize
to a separate file.   So on re-runs the md5sum are reused unless the timestamp
or the file size changed.


Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

More information about the osgeo4w-dev mailing list