Hi all,

Now 2 new patches for _unstable ;)

0001_removing_unused_gd_images.patch.gz

removed unused global GD images from tilesGen.pl
u use only the local images within Tileset.pm

 # create blank comparison images
...


0002_optimizePngTasks.patch.gz

add a new version from the threaded optimizePng
in lib/optimizePngTasks.pm

WARNING: it's experimentell DO NOT USE IT!!!!!!


it only work with Fork=0 and the new option cores=1 or more ;)
on my 4 cores is this version 2-3 times faster as the forked version

i have it only teset with the xy command and not in loop modus

the problem is the GDlib is not thread save...


sorry for my bad englich i hope my code is better ;)


René


Matthias Julius schrieb:
Rene Wunderlich <[EMAIL PROTECTED]> writes:

Hi [EMAIL PROTECTED] list,

thanks to all [EMAIL PROTECTED] members for the big work on osm ;)

and now a bit work from me for u all

WARNIG THIS PATCH IS EXPERIMENTELL!!!!!!!!!!!!!!!!!!!!!!!
do not use it on a unwatched client!

i write a smal patch to add multithreading to the optimizePNGs
funktion in lib/Compress.pm

Hi Rene,

it is great when someone contributes to the code.

But, are you aware of the _unstable branch?  We use that for
developing and it gets merged/copied to the stable branch once in a
while.

Especially the PNG optimizing stuff has changed a lot in _unstable and
Compress.pm doesn't exist any more.

I would hate to see your efforts wasted

Maybe it is time for a new "release" in order to let _unstable not
deviate too far from stable.  It seems to be working quite reliably
(at least on my system).

Matthias

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Attachment: 0001_removing_unused_gd_images.patch.gz
Description: application/gzip

Attachment: 0002_optimizePngTasks.patch.gz
Description: application/gzip

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to