Closed walaj closed 4 months ago
Simple fix to pass nbh vector across neighborhood_ calls rather than build new and transfer within each function. Saves a lot of unnecessary vector creation/destruction. Identical output, ~4x speed improvement (29m vs 6m on my use-case).
nbh
neighborhood_
sorry for the delay
Simple fix to pass
nbh
vector acrossneighborhood_
calls rather than build new and transfer within each function. Saves a lot of unnecessary vector creation/destruction. Identical output, ~4x speed improvement (29m vs 6m on my use-case).