hadronized / glsl

GLSL parser for Rust
190 stars 28 forks source link

Lots of allocations caused by blank_space() #141

Open jrmuizel opened 3 years ago

jrmuizel commented 3 years ago

a single call to blank_space() can end up heap allocating mutiple VerboseErrors and since it shows up in lots of places we end up doing unnecessary allocations all over the place.

hadronized commented 3 years ago

That can indeed be an issue. I’ll have a look if I can find time by the end of the week.