summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorAdam Scarr <adam@vektah.net>2017-08-10 22:06:08 +1000
committerAdam Scarr <adam@vektah.net>2017-08-10 22:06:08 +1000
commit8a92b5348f8cf6769f30237df906ee9ce71ad237 (patch)
treeee23dda7188bab1a01892fba4c1c697263c3a9a6 /readme.md
parenta0e66b1c46ec57218f8a95a21ace7cbbceb29ec2 (diff)
Unicode safe by default
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 1da05ed..5d8e78b 100644
--- a/readme.md
+++ b/readme.md
@@ -3,6 +3,11 @@ goparsify [![CircleCI](https://circleci.com/gh/Vektah/goparsify/tree/master.svg?
A parser-combinator library for building easy to test, read and maintain parsers using functional composition.
+Everything should be unicode safe by default, but you can opt out of unicode whitespace for a decent ~%20 performance boost.
+```go
+Run(parser, input, ASCIIWhitespace)
+```
+
### benchmarks
I dont have many benchmarks set up yet, but the json parser is very promising. Nearly keeping up with the stdlib for raw speed:
```