You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I was also writing a TUI to-do app in Rust (but using tui-rs), but I was considering a more efficient way to save the tasks by saving only the lines that have been changed and not the unchanged ones. I tried making many implementations, like using enums or checking if the file contains that task already. However, I kept getting stuck. Do you have any idea how we could implement this?
The text was updated successfully, but these errors were encountered:
Should we have an ID field for each task? Or maybe we could use rusqlite? Or csv? As long as it would reduce IO operations without compromising too much performance.
Hey, I was also writing a TUI to-do app in Rust (but using
tui-rs
), but I was considering a more efficient way to save the tasks by saving only the lines that have been changed and not the unchanged ones. I tried making many implementations, like using enums or checking if the file contains that task already. However, I kept getting stuck. Do you have any idea how we could implement this?The text was updated successfully, but these errors were encountered: