Skip to main content

MAX_INLINE_COORDS

Constant MAX_INLINE_COORDS 

Source
const MAX_INLINE_COORDS: usize = 12;
Expand description

Maximum number of coordinates we store inline. Chosen to maximize the number of coords without growing the storage: a SmallVec is a capacity alongside a union of the inline array and the heap pointer, so twelve two byte coords are the most that fit in 32 bytes.