rensje

Results 2 comments of rensje

The fastest way I've found to serialize and deserialize Numpy arrays to msgpack using msgspec: ```python3 import msgspec.msgpack import numpy as np import timeit class NumpySerializedRepresentation(msgspec.Struct, gc=False, array_like=True): dtype:str shape:tuple...

@jack-mcivor Thanks! Its good to see all the edge cases when trying to (de)serialize numpy arrays listed out like that. I'll modify my comment to make it clear that this...