Closed ethanhs closed 4 years ago
It should have a signature Callable[[Union[str, bytes, bytearray], *, typ=Type[T]], T]
Callable[[Union[str, bytes, bytearray], *, typ=Type[T]], T]
Initial testing indicates this may not be faster, but we shall see.
It seems it would be faster/better to have the loads/dumps on the class/instance themselves.
It should have a signature
Callable[[Union[str, bytes, bytearray], *, typ=Type[T]], T]