Skip to content

Possible Speed Ups #2

@william-silversmith

Description

@william-silversmith

The code is much faster than it was at the start. An est. 25 core-years is now reduced to 30 minutes for a dense run on connectomics.npy.ckl (ed. now 4-5 minutes as of 7/21/2025). However, this is still much longer than it takes to process skeletons with Kimimaro!

One possibility for moving faster is instead of processing single voxels at a time, work with larger and larger cubes and compute the area that way. However, it will take some effort to efficiently distinguish between area that are "safe" and areas that requires more precision.

One other possibility is to determine a bounding box, compute the area for that box, and work on the outside and subtract area from the result. If the box is tight and there are no holes in the interior, then this could be efficient... but it only works if you know there's a single connected component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceMake it faster or lower memory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions