seung-lab / fill_voids

Fill holes in binary 2D & 3D images fast.
GNU General Public License v3.0
16 stars 4 forks source link

perf: remove extra copy operation at the front #1

Closed william-silversmith closed 4 years ago

william-silversmith commented 4 years ago

Reduce memory and increase speed.

william-silversmith commented 4 years ago

image

(black) version 1.0.0 (blue) scipy (red) this PR (green) this PR + in_place=True