Follow


I rewrote the woodslist rust parser ( github.com/makoConstruct/termp ) to be safer (zero unsafes now) and simpler, in preparation for using it for receiving potentially untrusted communications in a tasteweb prototype.

I was able to get rid of the thing where it backs out then call into an opaque function pointer for every character. Bafflingly, didn't speed it up. I guess the performance bottleneck is probably memory allocation so if I want to make it faster I'll have to do arena stuff?

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.