[Pkg-javascript-commits] [node-expat] 204/371: README: doc

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit 593c2a81042ae2af03ca992e214c86b0cf58220a
Author: Astro <astro at spaceboyz.net>
Date:   Tue Oct 9 02:06:44 2012 +0200

    README: doc
---
 README.markdown | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.markdown b/README.markdown
index 15bdf19..4900f25 100644
--- a/README.markdown
+++ b/README.markdown
@@ -14,8 +14,7 @@ A stupid speed test is supplied in `bench.js`. We measure how many
 - [libxmljs](http://github.com/polotek/libxmljs) (libxml2 binding): 77,000 el/s
 - [node-expat](http://github.com/astro/node-expat) (libexpat binding, this): 113,000 el/s
 
-These numbers were recorded on a Core 2 2400 MHz and may turn out to
-be bullshit, given my few node.js experience.
+These numbers were recorded on a Core 2 2400 MHz.
 
 ## Instructions ##
 
@@ -42,6 +41,9 @@ We don't emit an error event because libexpat doesn't use a callback
 either. Instead, check that `parse()` returns `true`. A descriptive
 string can be obtained via `getError()` to provide user feedback.
 
+Alternatively, use the Parser like a node Stream. `write()` will emit
+error events.
+
 ## Namespace handling ##
 
 A word about special parsing of *xmlns:* this is not neccessary in a

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list