hyperlight-dev / hyperlight-dev/hyperlight

Avoid unnecessary memory copies

Aperta
#671 2 commenti 0 reazioni 1 assegnatario Rivendicata da @andreiltd Vedi su GitHub
area/performance lifecycle/confirmed
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

Currently, we make many redundant memory copies when transferring data in and out of the guest. While we're using flatbuffers for serialization, we're not leveraging its full benefits. APIs such as call_guest_func should accept parameters by reference instead of by value, since the data needs to be serialized anyway.

Created from #433

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.