Skip to content

Add serializability - #56

Open
EmJay276 wants to merge 8 commits into
mhogg:masterfrom
EmJay276:serializability
Open

EmJay276 wants to merge 8 commits into
mhogg:masterfrom
EmJay276:serializability

Conversation

@EmJay276

Copy link
Copy Markdown

Add the option to serialize the cOctree and restore it, this enables multiprocessing with python.
Joblib and multiprocessing serialize objects using pickle and restoring a copy of them in each process.

This speeds up my programs by a factor of ~5 for a tree with ~160k triangles and 17k nodes.

Fixes #34

This was referenced Nov 25, 2024
Ensure packe is installable without --no-build-isolation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiprocessing and PyOctree error

1 participant