int length

Returns the number of elements in the iterable.

This is an efficient operation that doesn't require iterating through the elements.

Source

int get length => (_tail - _head) & (_table.length - 1);