projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.07k stars 96 forks source link

fluent-syntax lexer, take 4 #161

Closed zbraniecki closed 4 years ago

zbraniecki commented 4 years ago

Based on the experience from branch lexer3 I started working on an improved iteration with the focus on error recovery and cleanness. The results are very promising. For benches/simple.ftl I see:

master/parser: 15.825 us lexer3/lexer: 4.3235 us lexer3/parser: 9.5706 us lexer4/lexer: 4.0224 us lexer4/parser: 5.6915 us

zbraniecki commented 4 years ago

dropping this in favor of rolling branches :) See #99 for the context.