mstrimas / smoothr

Spatial Feature Smoothing in R
http://strimas.com/smoothr
GNU General Public License v3.0
96 stars 5 forks source link

fill_holes slow for large data #11

Open MikkoVihtakari opened 3 years ago

MikkoVihtakari commented 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.

MikkoVihtakari commented 3 years ago

See this: https://github.com/mstrimas/smoothr/issues/10 (closed by accident)