refactor: change the native type for account IDs to reduce allocations
未關閉
- 主要語言
- Rust
- 星號
- 104
- 分支
- 138
- 平均合併
- 1 天 13 小時
- 30 天內合併 PR
- 56
描述
> One general comment: we frequently use `account.to_bytes()` to convert account ID to a vector of bytes. This results in allocations and I wonder if it would be better to use something like `u128` or `[u8; 15]` as a "native" type for account ID.
_Originally posted by @bobbinth in https://github.com/0xPolygonMiden/miden-node/pull/591#discussion_r1897462700_
貢獻指南
評估
這個 Issue 還沒有評估資料。