Am 09.04.2015 um 15:11 schrieb Sönke Ludwig:
Am 09.04.2015 um 14:25 schrieb Martin Nowak:

(...)

There are 2 very nice alternative approaches in the benchmark repo.

https://github.com/kostya/benchmarks/blob/master/json/test_pull.cr
https://github.com/kostya/benchmarks/blob/master/json/test_schema.cr


That would be a nice intermediate level parser. However, the range based
parser as it is now is also useful for things like automated
deserialization (which I don't want to include at this point) where you
don't know in which order fields come in and where you have to use that
style of filtering through the data anyway.

But if inlining works properly, it should be no problem to implement
other APIs on top of it.

https://github.com/s-ludwig/benchmarks/blob/master/json/test_new_lazy.d

Reply via email to