ovld: Blazing Fast Multiple Dispatch in Python

2025-06-01
ovld: Blazing Fast Multiple Dispatch in Python

ovld is a lightning-fast multiple dispatch library for Python. It lets you write different versions of the same function for every type signature using annotations, avoiding clunky `isinstance` chains. Unlike Python's `singledispatch`, it handles multiple arguments. ovld boasts exceptional speed, supports dispatching on functions, methods, positional and keyword arguments, and even offers dependent types and code generation. It excels with recursive definitions like tree mapping or serialization and allows creating function variants and medleys for flexible extension.

Development Multiple Dispatch