\brief Check if the iterator is at the end of the array. This can be used to avoid paying the cost of a call to RunEndEncodedArraySpan::end(). \return true if the iterator is at the end of the array
| 290 | /// |
| 291 | /// \return true if the iterator is at the end of the array |
| 292 | bool is_end(const RunEndEncodedArraySpan& span) const { |
| 293 | return logical_pos_ >= span.length(); |
| 294 | } |
| 295 | |
| 296 | Iterator& operator++() { |
| 297 | logical_pos_ = span.run_end(physical_pos_); |