What's the fastest Serialization mechanism for c#?

后端 未结 9 1463
攒了一身酷
攒了一身酷 2021-02-09 07:38

This for small payloads.

I am looking to achieve 1,000,000,000 per 100ms.

The standard BinaryFormatter is very slow. The DataContractSerializer is slow than Bina

9条回答
  •  醉酒成梦
    2021-02-09 08:16

    You could write a custom serialization by implement ISerailizable on your data structures. Anyway you will probably face some "impedence" from the hardware itself to serialize with these requirements.

提交回复
热议问题