mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
A track page or a search that was the first shadow read after a write waited for the whole snapshot build: 124 to 440 ms on the host's Android fixture, against 1.6 ms for a 60-song page with the per-row check. Home's recently added shelf, the Library tab, Android Auto and Link read pages on their own, so those reads got slower. They now use the snapshot only when it is already current and otherwise keep the per-row check at its old cost, without building. A page with an album completeness filter assesses every album, so it still builds. A failed build is now tried again only after the stamp moves, so a persistent failure no longer costs a pairs query on every read. Its warning, like a new one for a failing snapshot query, is logged once per connection.