Always unroll

This commit is contained in:
Ion Gaztañaga
2026-07-25 13:53:19 +02:00
parent b4363dc9e0
commit e17aa29592
2 changed files with 2 additions and 2 deletions
@@ -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;