Closed epage closed 3 years ago
After reading about this, I was curious to give it a try in a "real world" application (typos
), so I'm adding support for what I need to start running benchmarks.
Looks very nice! Thank you!
Finally wrapped up my pushgen
experiment: https://epage.github.io/blog/2021/07/pushgen-experiment/ (reddit).
Nice! Thank you for trying it out!
Just for my own understanding, you saw some decent improvements when comparing iterator code vs pushgen specifically but in the use-case of typos it isn't where the real bottleneck is (IO etc is much slower)?
pushgen::from_fn
mirrorsstd::iter::from_fn
. The struct lives with the others inpushgen::structs::FromFn
.