0xMiden / 0xMiden/node

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

Aberta
#600 1 comentário 1 reação 0 responsáveis Ver no GitHub
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

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.