[][src]Trait osmgraphing::helpers::MemSize

pub trait MemSize {
    fn mem_size_b() -> usize;
}

For example: Work off proto-edges in chunks to keep memory-usage lower. To keep additional memory-needs below 1 MB, the the maximum amount of four f64-values per worked-off chunk has to be limited to 250_000.

Required methods

Loading content...

Implementors

impl MemSize for ProtoEdge[src]

fn mem_size_b() -> usize[src]

Work off proto-edges in chunks to keep memory-usage lower. For example: To keep additional memory-needs below 1 MB, the the maximum amount of four f64-values per worked-off chunk has to be limited to 250_000.

Loading content...