Rogier-5 / minetest-mapper-cpp

Generates maps of minetest and freeminer worlds
Other
9 stars 4 forks source link

Request: multi-threaded support #18

Open VanessaE opened 7 years ago

VanessaE commented 7 years ago

It would be nice if you could allow the processing of more than one piece of map at a time, with some configurable maximum.

I run this program nightly on my servers, and I already do several worlds at one time with the help of xargs. However, the worlds are necessarily all different sizes. One of them is about as big as the others combined, so inevitably the smaller ones end up finishing first, leaving the larger world going pretty much by itself.

My goal is to "compact" all of the mapper stuff into as little time as possible, CPU/disk resources be damned, and there's only just so many other nightly things I can run at the same time before I run out of things to hog the CPU/disk/net. :smile:

Rogier-5 commented 7 years ago

This feature has also been sitting on my own wish-list for some time. It(*) will probably be in next release.

(*): for Linux/Posix; Windows support may take longer to complete.