Man, I don’t know what kind of CLIs this guy is building, where you need to keep long-lived references around and whatnot.
CLIs are typically quite easy to build in Rust, because in most cases, you just load your ~/.notes, iterate over the files/lines once, print out the result and then exit. I have a hard time coming up with a scenario where building an in-memory (!) tag index benefits you in a CLI.
Man, I don’t know what kind of CLIs this guy is building, where you need to keep long-lived references around and whatnot.
CLIs are typically quite easy to build in Rust, because in most cases, you just load your
~/.notes
, iterate over the files/lines once, print out the result and then exit. I have a hard time coming up with a scenario where building an in-memory (!) tag index benefits you in a CLI.yeah, it even sounds like they’re building an index to use it once and throw it away