0xMiden / 0xMiden/node

refactor: change the native type for account IDs to reduce allocations

未关闭
#600 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。