<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/129319>129319</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc++] Optimize std::find_first_of
        </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>
    `std::find_first_of` could use `any_of` or `find_if` to piggy-back on other algorithm's optimizations. This can be done when searching through the needle once we have something in the haystack.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskU-P2yAUxD8NvjzFwo_434HDbqNce-l9xZ9nQxdDBDir9NNXcSO1h0pIiGH0k2ZGleLXSCRZ_876S6P26lKWwfoUIzU62YdkAy_VMvHGxNvio_1YfC71Iy1s4GDSHizshYANXMXHS075-T7c_hBqgptf18dJK_MJKUKqjjKosKbsq9sYjgXSrfrN_1LVp1ha-OF8AaMiaAKbIsGXowiFVDbOxxWqy2lfHVRHEIlsIEjREHwROHUnKGmjejh9PExOPUpV5rNtrBR2FrNqSHbjmY_jhNPYONmj6Zfe8H62KOxgxWStEP0wz7yb9DQ3XiLHniNO2IkOx3YReh75rHE5D8JOCztz2pQPbQj3rU15bXwpO8kOZ9HNTVCaQjnqRgxeG4bvx0GG3xjijfKS8qaioafWX5osn6ST3tfCzjz4UstfdvU1HOP9g-ov8P1PkQT_H67Zc5Cu1lt5fuKV4XX11e26NWljeH3iX9fpltNPMpXh9chRGF5fUe4SfwcAAP__jLq5nQ">