You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/24 05:02:11 UTC
[GitHub] [doris] adonis0147 commented on pull request #10386: [improvement]Use std::iota to set values of _block_rowids in SegmentIterator::_read_columns_by_index
adonis0147 commented on PR #10386:
URL: https://github.com/apache/doris/pull/10386#issuecomment-1165197950
Hi @mrhhsg , the underlying implementation of `std::iota` is also a loop. Why does this modification take effect?
```cpp
template <class _ForwardIterator, class _Tp>
inline _LIBCPP_INLINE_VISIBILITY
void
iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value_)
{
for (; __first != __last; ++__first, (void) ++__value_)
*__first = __value_;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org