<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/129310>129310</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++] Consider implementing `std::any_of` in terms of `std::find_if`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++,
performance
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ldionne
</td>
</tr>
</table>
<pre>
If `std::find_if` is properly optimized (e.g. loop unrolling), this can potentially result in easy speedups.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kdGK5CoQhp9Gb2SCKZNOcuHFTDcN5ykGjZWkDkZFzUD26Zf0DuzuxUJBQRV81P-VKYXWgKhZ_8H6BzdH3WLW3lEMAbmN7tT_LYLdZKmOqXem3hcK7pMWdpOCikg5Jsz-FDFV2ukHOsFgxGZthI8xiSPk6D2FlcHE4C7qRkXMJogUK4ZKxvtTZCyHr4KCQFNOURKiO1JpuNPKTWoyHHU7dHIYhm5QfNOwzGZ2s5UK1Ti2YG7Yo51w6bthUmbkpEFCLwFGaNuhV43rXG-tQjO70cr2xjqJuyHfeP-1NzGvnEo5ULcwqVZybyz68rIC4MnODD5eBQzuDCBhXmLeTZjxmvUPnvVFerPHWlgnPZVafrMrVf9y_Aeqf4h7DIUcZkF78rhfPsL6l2wTzs_4y3UQFfNeRPzXO_iRvd5qTeXawJPBc6W6HbaZ487geV3z3d5Sjv_jXBk8X7ELg-d38i8NPwMAAP__Z46pVg">