Skip to content

Commit 5036176

Browse files
docs: describe sparse vs zeroth_pass for black cube benchmark
1 parent 213024b commit 5036176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ Here there's a slight difference in the memory usage. SciPy uses about 850 MB wh
139139
Fig. 4: Different configurations run against a uint64 512x512x512 black cube using 26-connectivity. (black) SciPy 1.5.2 (blue) cc3d 1.14.0 (red) cc3d 1.14.0 in sparse mode.
140140
</p>
141141

142+
*Note: From 2.0.0 onward, the `zeroth_pass` argument will have a similar effect as the defunct sparse argument.*
143+
142144
Sometimes empty data shows up in your pipeline. Sometimes a lot of it. How do your libraries handle it? At full speed? Slower? Faster than normal?
143145

144146
Here we show scipy versus cc3d in normal and sparse modes of operation using 26 connectivity. cc3d 1.14.0 contains optimizations for handling this case. In all modes, cc3d will skip the relabeling pass if provisional labels total fewer than two. In sparse mode, it will also skip the decision tree pass and memory allocation of data structures as well if it detects zero foreground voxels.

0 commit comments

Comments
 (0)