Treatment size

flow/vec/i64::size


Inputs

⇥ vector: Stream<Vec<i64>>

Outputs

↦ size: Stream<u64>


Gives size of vectors passing through stream.

For each vector one size value is sent, giving the number of elements contained within matching vector.

graph LR
    T("size()")
    V["[🟦 🟦][🟦][][🟦 🟦 🟦]…"] -->|vector| T
    
    T -->|size| P["2️⃣ 1️⃣ 0️⃣ 3️⃣ …"]

    style V fill:#ffff,stroke:#ffff
    style P fill:#ffff,stroke:#ffff