更新时间:2022-02-12 09:42:52
二进制序列是更有效的,因为直接写入原始数据和XML需要的格式,并解析数据,以产生一个有效的XML结构,另外根据什么样的数据有你的对象XML可能有很多冗余的数据。
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.