refactor: change the native type for account IDs to reduce allocations
Aperta
- Lingua principale
- Rust
- Stelle
- 104
- Fork
- 138
- Merge medio
- 1g 13h
- PR unite (30g)
- 56
Descrizione
> 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_
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.