Skip to main content

MAX_NODES

Constant MAX_NODES 

Source
pub const MAX_NODES: u32 = 4_000_000;
Expand description

The most XML nodes the parser builds for one file, so a file of many tiny elements can’t fill memory. A track point with its elevation, time, satellite count and three dilutions of precision is about 21 nodes, its whitespace included, so this holds some 190,000 such points, more than two days of a receiver writing once a second.