Programming Model
Compartilhar

AccountLoader (Anchor)

📖O que é

An Anchor account type that provides zero-copy access to large account data without deserializing the entire account upfront. AccountLoader wraps the raw account data and provides load() and load_mut() methods to access the data as a typed reference. It is used with #[account(zero_copy)] structs and is preferred over Account<T> when accounts exceed ~1KB, as it significantly reduces compute unit consumption.

Sua exploração

0 termos visitados no total
Termos relacionados explorados0/3

Termos Relacionados