Building registries of function pointers is probably the most common use case for distributed_slice.
The benchmark harness use case in the readme is one example, or the following registry of error type conversions for crates to register semantically meaningful conversions into Python errors for their custom error types.
Building registries of function pointers is probably the most common use case for distributed_slice.
The benchmark harness use case in the readme is one example, or the following registry of error type conversions for crates to register semantically meaningful conversions into Python errors for their custom error types.
It would be great to handle function pointers as a special case in our attribute macro to allow this more concise invocation:
which would expand to the pair of IO_INTO_PYERR static + io_into_pyerr function as above.