简体   繁体   English

简单的XML序列化第三方库

[英]Simple XML Serialization 3rd Party Library

I'm trying to speed up my XML parsing and I've stumbled upon Simple XML Serialization which looks pretty good, but I have two questions which I was wondering if anybody could help me with: 我试图加快我的XML解析速度,偶然发现了看起来不错的简单XML序列化 ,但是我有两个问题,我想知道是否有人可以帮助我:

  1. Does anyone have any performance figures of Simple over the built in SAXParser on an Android device? 与Android设备上内置的SAXParser相比,有没有人拥有Simple的性能指标? (or just in general if not on a handset) (或者一般来说,如果不在手机上)
  2. Does anyone know if Simple includes support for streamed files? 有人知道Simple是否包含对流文件的支持吗? Unfortunately the application I'm working on sometimes needs large XML files, and there's no room for alternatives and I can't for the life of me find any reference to streaming on the website . 不幸的是,我正在使用的应用程序有时需要大的XML文件,并且没有其他选择的余地,而且我一生无法在网站上找到任何有关流媒体的参考。

您可能还需要考虑XStream

经过几次测试,我发现内置的SAXParser比我能找到的任何其他东西都快得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM