0xMiden / 0xMiden/rust-sdk

refactor: reduce calls for `load_config_file` in CLI

Aperta
#857 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
78
Fork
129
Merge medio
4g 14h
PR unite (30g)
52

Descrizione

> I wonder if we can instantiate the `CliConfig` within the function to avoid passing it from `main()` essentially. But maybe this is better to avoid loading the file many times (maybe it could be within a once cell?). There are other occurrences of this as well.

_Originally posted by @igamigo in https://github.com/0xPolygonMiden/miden-client/pull/840#discussion_r2047501343_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.