118 icstablebtree - #120
Merged
Merged
Conversation
- IcStableSeq を SSEQ v2 に更新し、heap offset index を廃止 - ヘッダーのみを open し、可変長要素の更新・削除は bounded buffer で stable memory 上を直接移動 - 旧バージョン (v1) の sequence は open 時に ValueError を raise - StableMemoryView を利用し、raw stableRead/write を排除 - IcStableHashMap の初期化時に maxBucketLoad が 0 の場合のデフォルト設定とバリデーションを追加 - examples/stable_memory を再構成: - backend/ に IcStableTable / IcStableHashMap / IcStableSeq の canister API を集約 - btree_* → table_* に改名、hash_* API を追加 - 旧 src/stable_memory_backend/ と dfx.json / build.sh / test_*.sh を削除 - icp.yaml に環境設定 (local/staging/production) を追加 - AGENTS.md / CLAUDE.md を追加 - 統合テストを更新: - query メソッドに --query フラグを自動付与 - IcStableHashMap / IcStableSeq のテストケースを追加 - btree_* → table_* に追従 - 単体テスト tests/storage/test_stable_seq.nim を追加 (SSEQ v2 の reopen・互換性検証) - CLI: nicp new に --backend エイリアスを追加 - ドキュメント docs/en/stable_memory.md を SSEQ v2 の動作に更新
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.