datalust / superpower

A C# parser construction toolkit with high-quality error reporting
Apache License 2.0
1.05k stars 98 forks source link

Zero allocation parsing? #120

Closed Shadowblitz16 closed 3 years ago

Shadowblitz16 commented 3 years ago

Do you think it would be possible to make this a zero allocation parser? https://www.youtube.com/watch?v=nK54s84xRRs

nblumhardt commented 3 years ago

Hi,

No, not currently - #94 makes some improvements on allocations, but the underlying design still requires them at the tokenization stage.