02 2014 档案

摘要:Built-in Functionsabs()divmod()input()open()staticmethod()all()enumerate()int()ord()str()any()eval()isinstance()pow()sum()basestring()execfile()issubclass()print()super()bin()file()iter()property()tuple()bool()filter()len()range()type()bytearray()float()list()raw_input()unichr()callable()format()loc 阅读全文
posted @ 2014-02-28 15:15 DiggingDeeply 阅读(1925) 评论(0) 推荐(0) 编辑
摘要:背景这几天手上有个活,解析xml,众所周知xml的解析方法有:DOMSAXlinq to xmlplinq测试用xml和生成代码 1 static void CreateFile() 2 { 3 int N = 5000000; 4 Random rand = new Random(); 5 using (var writer = new XmlTextWriter("VeryHugeXmlFile.xml", Encoding.UTF8)) 6 { 7 ... 阅读全文
posted @ 2014-02-08 07:54 DiggingDeeply 阅读(5115) 评论(3) 推荐(3) 编辑