Hacker News new | ask | show | jobs
by slowmotiony 3056 days ago
Why do you need a database over a serialized object like a hashmap file if there is only one user and one device?
1 comments

Because writing the entire dataset back out on every addition or removal is extremely wasteful.

The existing database implementations in the system do much less writes.

Doing such large, constant writes not only is slower, it also degrades the NAND.

Thank you