• Ophir LOJKINE's avatar
    3x performance improvement for serialization (#700) · 3932c3f4
    Ophir LOJKINE authored
    * 3x performance improvement for serialization
    
    Instead of re-inspecting the type metadata everytime an object is serialized,
    create a single serialization function for each type and just call it when an instance is serialized
    
    * pre-compute uatype array serializers
    
    * Make VariantTypeCustom instances valid cache keys
    
    VariantTypeCustom instances can be used as cache keys for serialization functions
    3932c3f4
ua_binary.py 18.9 KB