ruby-changes:41028
From: hsbt <ko1@a...>
Date: Mon, 14 Dec 2015 14:34:03 +0900 (JST)
Subject: [ruby-changes:41028] hsbt:r53107 (trunk): * lib/xmlrpc.rb: added documentation for parser details.
hsbt 2015-12-14 14:33:42 +0900 (Mon, 14 Dec 2015) New Revision: 53107 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53107 Log: * lib/xmlrpc.rb: added documentation for parser details. [ci skip][fix GH-1124] Patch by @jrafanie Modified files: trunk/ChangeLog trunk/lib/xmlrpc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 53106) +++ ChangeLog (revision 53107) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Dec 14 14:33:35 2015 SHIBATA Hiroshi <hsbt@r...> + + * lib/xmlrpc.rb: added documentation for parser details. + [ci skip][fix GH-1124] Patch by @jrafanie + Mon Dec 14 11:46:52 2015 SHIBATA Hiroshi <hsbt@r...> * enum.c: fix a typo in documentation. Index: lib/xmlrpc.rb =================================================================== --- lib/xmlrpc.rb (revision 53106) +++ lib/xmlrpc.rb (revision 53107) @@ -53,9 +53,19 @@ https://github.com/ruby/ruby/blob/trunk/lib/xmlrpc.rb#L53 # # * Parsers # * NQXML (XMLParser::NQXMLStreamParser, XMLParser::NQXMLTreeParser) +# * Not compiled (pure ruby) +# * Note: NQXML's website recommends rexml and isn't available on rubygems.org +# * See http://nqxml.sourceforge.net/ # * Expat (XMLParser::XMLStreamParser, XMLParser::XMLTreeParser) +# * Compiled +# * Fastest parser and also uses the least memory +# * See https://rubygems.org/gems/xmlparser # * REXML (XMLParser::REXMLStreamParser) +# * Not compiled (pure ruby) +# * See ruby standard library # * xml-scan (XMLParser::XMLScanStreamParser) +# * Not compiled (pure ruby) +# * See https://rubygems.org/gems/xmlscan # * Fastest parser is Expat's XMLParser::XMLStreamParser! # # * General @@ -292,7 +302,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/xmlrpc.rb#L302 # # ... # # -# Note that XMLParser::XMLStreamParser is incredible faster (and uses less memory) than any +# Note XMLParser::XMLStreamParser (xmlparser gem) is faster and uses less memory than any # other parser and scales well for large documents. For example for a 0.5 MB XML # document with many tags, XMLParser::XMLStreamParser is ~350 (!) times faster than # XMLParser::NQXMLTreeParser and still ~18 times as fast as XMLParser::XMLTreeParser. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/