refactor: change the native type for account IDs to reduce allocations
Aberta
- Linguagem predominante
- Rust
- Estrelas
- 104
- Forks
- 138
- Merge médio
- 1d 13h
- PRs com merge (30d)
- 56
Descrição
> 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_
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.