Open MikkoVihtakari opened 3 years ago
Also fill_holes() is slow for the same reason (a for loop). I cannot come up with an idea how to vectorized it off the bat, but you could at least use lapply instead of for loop? That would already cut the processing time.
fill_holes()
lapply
See this: https://github.com/mstrimas/smoothr/issues/10 (closed by accident)
Also
fill_holes()
is slow for the same reason (a for loop). I cannot come up with an idea how to vectorized it off the bat, but you could at least uselapply
instead of for loop? That would already cut the processing time.