latency property

int latency

The latency of the bitonic sort algorithm.

Implementation

int get latency => List.generate(log2Ceil(_inputs.length) + 1, (i) => i)
    .reduce((a, b) => a + b);