[josm-dev] Parallelizable operations
Dirk Stöcker
openstreetmap at dstoecker.de
Tue Mar 26 17:47:12 UTC 2013
On Tue, 26 Mar 2013, Karl Wettin wrote:
> I was thinking I should be possible to speed up some operations such as
> merging layers and validation by executing them in parallel to avoid
> micro stress. Who has time to wait for ten seconds when it could take
> two? :-D
>
> As I just fetched the code from the repo for the first time and haven't
> even looked at it yet, I thought perhaps it's a good thing to point out
> my plan here before I get started in case someone already considered it
> or if there is some caveat I should be aware of that might make it
> problematic for me to implement this in a clean way.
In principle this is a good idea. There are some parts which could
benefit from parallel processing, but probably not as much as you
think. But it is not easy to get it done. :-)
Patches are always welcome!
Your project sounds large, so some important hints:
* please no large lumps of code changes in one go. When you need to redo
larger parts to get desired functionality, first do the required
infrastructural changes in small steps and after that is finished
do the rest
* No code changes only because you feel it looks better.
* First test your work with a smaller patch (via ticket system please),
so you get a feeling what we accept and what not.
See also:
http://josm.openstreetmap.de/wiki/DevelopersGuide
http://josm.openstreetmap.de/wiki/DevelopersGuide/SVN_Account
http://josm.openstreetmap.de/wiki/DevelopersGuide/PatchGuide
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list