pub fn array_function_dispatch(
func: &ArrayFunction,
args: &[Box<dyn Any>],
kwargs: &HashMap<String, Box<dyn Any>>,
) -> CoreResult<Box<dyn Any>>
Expand description
Calls the array protocol with the given function and arguments.
func
- The array function to callargs
- The arguments to the functionkwargs
- Named arguments to the function
Returns the result of the function call, or an error if the function cannot be dispatched to any of the array protocol implementations.
Optimized version with caching and fast-path optimizations.