Save raw version of collections

Instead of fully generating the Collection and OrderedCollection objects based on their contents as we do now, I would like to store some data as the raw data.

This raw data would include everything about the collection that are not the items.

The immediate benefit would be that we don't need to go through all the items, once to count them and a second time to filter them.

The downside is that now we would need to update the raw value every operation that has an effect on the collection.

The CollectionPage and OrderedCollectionPage that compose the collections can not be cached to their raw data as they are mostly dynamic, depending on the filters applied.

Assigned to
1 year, 5 months ago
3 months ago

~mariusor 1 year, 1 month ago

Done for the storage-fs package.

~mariusor referenced this from #292 8 months ago

~mariusor 3 months ago

Done for storage-sqlite package.

~mariusor REPORTED CLOSED 3 months ago

I think this is everything if we're omitting the fact that the badger backend stopped working a while ago.

Register here or Log in to comment, or comment via email.