What is Nostr?
P-Y /
npub19ww…g5sa
2023-09-29 05:43:11

P-Y on Nostr: I've been reading the sources of Android Datastore internals and.... A library who's ...

I've been reading the sources of Android Datastore internals and....

A library who's sole purpose is dumping a binary to a file and reading it later has no business being that complex.

So many layers of locks & suspending functions, it's really hard to reason about.

SharedPreferencesImpl, Tape, SQLite internals are all easier to understand than Datastore...

https://github.com/androidx/androidx/tree/androidx-main/datastore
Author Public Key
npub19wwxc29uufy6rmegf9aza3hkcqdu00s8yyfyhr88mglptysgp3tsz7g5sa