For accounts larger than a few kilobytes, `AccountLoader<'info, T>` with `#[account(zero_copy)]` maps data directly from the account buffer without heap allocation.
rust
#[account(zero_copy)]
pub struct BigOrderBook {
pub orders: [Order; 500],
}100 XP to Apprentice
Managing large accounts with zero-copy deserialization.
AI translates the explanation and quiz text while preserving code and answer scoring.
For accounts larger than a few kilobytes, `AccountLoader<'info, T>` with `#[account(zero_copy)]` maps data directly from the account buffer without heap allocation.
rust
#[account(zero_copy)]
pub struct BigOrderBook {
pub orders: [Order; 500],
}1. When should you use AccountLoader and zero_copy in Anchor?
2. What method accesses mutable zero-copy account data in Anchor?