Enable multi-threading at least for all demanding G'MIC filters

Maybe this is something you haven’t noticed, but most G’MIC filters actually use multi-threading for computing their result.
Inpaint [patch-based] is one of the exception, but there is a good reason for that : the algorithm used here consists of iterative copy/pasting of patches that can’t be done simultaneously (one paste has a consequence on all the following). This is a single-threaded algorithm by nature, and there is very few we can do to change it.
Try Inpaint [multiscale] which uses a different inpainting algorithm that can be (and is) multi-threaded.

1 Like