rust-bakery / parser_benchmarks

Benchmarks for the nom, the Rust parser combinators library
123 stars 20 forks source link

Nom MP4: Benchmark should return MP4Box to be comparable to Attoparsec #9

Closed m4rw3r closed 9 years ago

m4rw3r commented 9 years ago

Attoparsec returns the MP4Box. Currently Nom throws it away and stores a zero-sized type in the resulting vector, it is much faster and not comparable to what Attoparsec is doing.

Geal commented 9 years ago

Thanks!