Why is binary serialization faster than xml serialization?

前端 未结 5 2269
别那么骄傲
别那么骄傲 2021-02-19 20:25

Why is binary serialization considered faster than xml serialization?

5条回答
  •  一个人的身影
    2021-02-19 21:21

    Binary serialization is more efficient because write raw data directly and the XML needs format, and parse the data to generate a valid XML structure, additionally depending of what sort of data have your objects the XML may have a lot of redundant data.

提交回复
热议问题