Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle: Load inventory lazily
Merged did:key:z6MksFqX...wzpT opened 2 years ago

Instead of loading the inventory cache on storage open, load it when the inventory function is called and the list is empty.

I chose not to add an extra flag or Option, which means that if the storage is actually empty, it’ll be reloaded everytime, but since loading an empty inventory is basically free, that’s ok.

did:key:z6MksFqX...wzpT opened with revision a89442b1 on base 057af40e +12 -26 2 years ago

Instead of loading the inventory cache on storage open, load it when the inventory function is called and the list is empty.

I chose not to add an extra flag or Option, which means that if the storage is actually empty, it’ll be reloaded everytime, but since loading an empty inventory is basically free, that’s ok.

did:key:z6MksFqX...wzpT pushed revision 2 9f8c2309 on base 057af40e +29 -35 2 years ago

New design.

did:key:z6MksFqX...wzpT pushed revision 3 8ad4198f on base 057af40e +29 -35 2 years ago

Clippy.

did:key:z6MksFqX...wzpT merged revision 8ad4198f at ea31040e 2 years ago