Skip to main content

CONVERSATION_SLACK

Constant CONVERSATION_SLACK 

Source
pub const CONVERSATION_SLACK: usize = 1_000;
Expand description

How far past the cap a copy may grow before the drop runs.

The drop rebuilds what it keeps into an allocation of its own, so running it on every append past the cap would pay that rebuild per frame instead of once per slack - and the slack costs a proportion of the cap, not a second conversation.