mirror of
https://github.com/boostorg/container.git
synced 2026-08-04 03:34:11 +02:00
Always unroll
This commit is contained in:
@@ -37,7 +37,7 @@ typename algo_enable_if_c<
|
||||
!Tag::value || is_sentinel<Sent, InpIter>::value, InpIter>::type
|
||||
segmented_find_dispatch(InpIter first, Sent last, const T& BOOST_RESTRICT value, Tag, Cat)
|
||||
{
|
||||
BOOST_CONTAINER_SEGMENTED_UNROLL(4)
|
||||
BOOST_CONTAINER_UNROLL(4)
|
||||
for(; first != last; ++first)
|
||||
if(*first == value)
|
||||
break;
|
||||
|
||||
@@ -37,7 +37,7 @@ typename algo_enable_if_c<
|
||||
!Tag::value || is_sentinel<Sent, InpIter>::value, InpIter>::type
|
||||
segmented_find_if_dispatch(InpIter first, Sent last, Pred pred, Tag, Cat)
|
||||
{
|
||||
BOOST_CONTAINER_SEGMENTED_UNROLL(4)
|
||||
BOOST_CONTAINER_UNROLL(4)
|
||||
for(; first != last; ++first)
|
||||
if(pred(*first))
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user