improves queries along many find, upsert, findOne calls.
reduces a certain write to the localStorage from ~1300 to ~190 times during first load.
searches for entries using the Name hash as key.
saves 20% less data on localStorage.
Watched names are migrated to the new 'schema'. Non watched are wiped, to prevent either localStorage lockdown (by exceeding the storage limit) or lots of processing, as the old collections would require an exponential complex time to remove one by one.
Ready for testing
find
,upsert
,findOne
calls.Watched names are migrated to the new 'schema'. Non watched are wiped, to prevent either localStorage lockdown (by exceeding the storage limit) or lots of processing, as the old collections would require an exponential complex time to remove one by one.