Skip to main content

SHARE_MIN

Constant SHARE_MIN 

Source
pub const SHARE_MIN: usize = 4096;
Expand description

Octet sequences at least this long are shared rather than copied, by Decoder::read_octet_seq_shared and Encoder::write_octet_seq_shared. Shorter ones are cheaper to copy, and a short slice should not keep a large message buffer alive.