mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/xmlrpc.rb: added documentation for parser details.
[ci skip][fix GH-1124] Patch by @jrafanie git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
430082c013
commit
4f09696496
2 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 14 14:33:35 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* enum.c: fix a typo in documentation.
|
||||
|
|
|
@ -53,9 +53,19 @@
|
|||
#
|
||||
# * 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 @@
|
|||
# # ...
|
||||
#
|
||||
#
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue