stable-structures
stable-structures copied to clipboard
A collection of data structures for fearless canister upgrades.
I would like to store the following data in stable memory. In this example, each line is some kind of score history for each user. ```rust let data: Vec //...
Currently we only implement `Storable` for `Vec`. Ideally, we would have a generic implementation that allows developers to put anything that implements `Storable` in a Vec. We can't introduce this...
It'd be useful to have tools where developers can, for a canister they have access to, do the following: 1. View the list of stable structures present. 2. Choose any...
Loading is a relatively expensive operation, and improving it can lead to significant gains in performance. Caching is an obvious way to make loading a node cheaper. Maybe there are...
It's not currently not possible to iterate a `BTreeMap` in reverse, so implementing a `DoubleEndedIterator` to provide that functionality would make it more usable.
Requiring a memory id is not desirable, as it adds complexity to the creation of stable structures. I just ran into an issue where a dependency of my application was...
deque
Thank you for the stable structures. Would it be possible to add a deque to the set of structures? Either simulated under the hood as a BTreeMap or as a...
# Motivation I am currently implementing the `ic-stable-structures` in [Juno](https://github.com/buildwithjuno/juno/pull/130) and I whish following methods would have been available as they are in the standard [BTreeMap](https://doc.rust-lang.org/std/collections/struct.BTreeMap.html). # Note None are...
``` help: the following other types implement trait `BoundedStorable`: () (A, B) ``` Would be nice to implement this for (A, B, C...) in accordance with candid.