Bruno is out on the App Store! https://apps.apple.com/us/app/id1532125446
@sir I don't know where else to write this, but I can't change my payment information on Sourcehut. The page just shows up as blank. Sorry for the spam!
Android app development is a horrible, messy, ever-so-confusing thing to do. No thanks. APPLE PLEASE TAKE ME IN.
Alright so the caveat of going with a json based database model and keeping it all in memory is that there's a recommended maximum of memory you can keep at a time, or you risk your app crashing.
However, according to this: https://stackoverflow.com/a/29094983
For newer iPhones that's somewhere between 1GB and 2GB, which is a massive amount of data for a json database, something stupid like like ~7.5m to ~15m records. So for _most_ applications, if you also do some purging of ancient records, you'd be fine
Done! By doing the re-write I managed to also remove like half the code base. I'll have a blog post about my data management solution soon enough.
Ok, so apparently constant read-writes to storage file is not the most efficient. Will re-write to read once on app open, and write once on app close. Everything else will happen in memory.
I do plan to release the database as open source soon as well, once I can generalise it enough to support all sorts of use cases.
Senior Software Engineer at GreenPowerMonitor, husband.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.