Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed May 29, 2024
1 parent b80c149 commit df66f03
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 510 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
fail-fast: false
env:
DFX_VERSION: 0.20.2-beta.0
IC_REPL_VERSION: 0.7.0
MOC_VERSION: 0.11.0
IC_WASM_VERSION: 0.7.0
RUSTC_VERSION: 1.76.0
IC_REPL_VERSION: 0.7.4
MOC_VERSION: 0.11.1
IC_WASM_VERSION: 0.7.1
RUSTC_VERSION: 1.78.0
steps:
- uses: actions/checkout@v4
- name: Checkout out gh-pages report
Expand Down
126 changes: 63 additions & 63 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ lto = true
opt-level = 2

[workspace.dependencies]
ic-cdk = "0.13.1"
ic-cdk-timers = "0.7"
ic-cdk = "0.14.0"
ic-cdk-timers = "0.8"
candid = "0.10.4"
serde = "1"
ic-stable-structures = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion collections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ the same elements, and the queries are exactly the same. Below we explain the me
> * Different library has different ways for persisting data during upgrades, there are mainly three categories:
> + Use stable variable directly in Motoko: `zhenya_hashmap`, `btree`, `vector`
> + Expose and serialize external state (`share/unshare` in Motoko, `candid::Encode` in Rust): `rbtree`, `heap`, `btreemap_rs`, `hashmap_rs`, `heap_rs`, `vector_rs`
> + Use pre/post-upgrade hooks to convert data into an array: `hashmap`, `splay`, `triemap`, `buffer`, `imrc_hashmap_rs`
> + Use pre/post-upgrade hooks to convert data into an array: `hashmap`, `triemap`, `buffer`, `imrc_hashmap_rs`
> * The stable benchmarks are much more expensive than their non-stable counterpart, because the stable memory API is much more expensive. The benefit is that they get fast upgrade. The upgrade still needs to parse the metadata when initializing the upgraded Wasm module.
> * `hashmap` uses amortized data structure. When the initial capacity is reached, it has to copy the whole array, thus the cost of `batch_put 50` is much higher than other data structures.
> * `btree` comes from [mops.one/stableheapbtreemap](https://mops.one/stableheapbtreemap).
Expand Down
4 changes: 0 additions & 4 deletions collections/motoko/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
"type": "motoko",
"main": "src/rbtree.mo"
},
"splay": {
"type": "motoko",
"main": "src/splay.mo"
},
"heap": {
"type": "motoko",
"main": "src/heap.mo"
Expand Down
Loading

0 comments on commit df66f03

Please sign in to comment.