Hacker News new | past | comments | ask | show | jobs | submit login
RFC: Add ngram indexing support to ripgrep (2020) (github.com/burntsushi)
2 points by tosh on Nov 30, 2023 | hide | past | favorite | 2 comments



Author of ripgrep here.

I'm not sure if this is ever going to happen. I did make some progress in the initial design here (warning, very long): https://github.com/BurntSushi/nakala/blob/15d55b742c07a26944...

But... I was not extremely confident in my design, and proving it out will likely take at least months of continuous work. I don't quite have that kind of time at the moment, and I ended up diverting to work on Rust's regex crate rewrite. My biggest question was whether I should double down on memory maps or not. There is a lot of conflicting advice and practice.

Perhaps I'll revisit this idea some day, but probably not any time soon unfortunately.


Wow thanks a lot for the pointer to nakala. I submitted the RFC because I stumbled upon it while I was looking at building blocks and concepts for building local/desktop search tooling. Very interesting!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: