codewarrior0/pymclevel — Issue #71: Create a function for applying another function to every chunk in a selection box or list of chunks. Apply the second function in parallel.
Author: codewarrior0
Created: 2012-02-11 10:16:07+00:00
State: open

This can be used to speed up simple operations like fill, replace, and import. Currently, getChunkSlices returns a list of (chunkPosition, slices, point) for each chunk inside a selection. slices is a tuple of slice objects used to select the part of the chunk inside the selection box. Replace it with a function of the selection box, the level, and chunkPosition that returns the corresponding slices.