This commit is contained in:
2015-04-27 22:05:48 +03:00
parent b92d43c5ed
commit ef69dfedd3
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ cat test.json | kifflom -s ".bananas#0.weight .prices.*"
As you can learn from benchmarks described below, kifflom's lexer itself is
roughly 8.5 times slower than the standard JSON parser on any amount of data.
You can benefit from low and constant memory usage, although I don't think you would.
A fellow father-brother can benefit from low and constant memory usage, although I don't think he would.
```bash
# Running lexer tests and benchmarks
+1 -3
View File
@@ -57,9 +57,7 @@ func (c *context) compare(c2 *context) bool {
}
func (c *context) push(typ expectationType) {
c.exps = append(c.exps, expectation{
typ: typ,
})
c.exps = append(c.exps, expectation{typ: typ})
}
func (c *context) pop() {