Files
ladybird/Libraries/LibCore
Lenny Maiorani f99d1d3bd7 Vector: Implement find, find_if, find_first_matching in terms of AK::find*
Problem:
- The implementation of `find` is coupled to the implementation of `Vector`.
- `Vector::find` takes the predicate by value which might be expensive.

Solution:
- Decouple the implementation of `find` from `Vector` by using a
  generic `find` algorithm.
- Change the name of `find` with a predicate to `find_if` so that a
  binding reference can be used and the predicate can be forwarded to
  avoid copies.
- Change all the `find(pred)` call sites to use `find_if`.
2021-01-11 19:45:05 +01:00
..
2020-12-14 23:05:53 +01:00
2020-06-11 22:44:54 +02:00
2020-09-16 17:50:43 +02:00
2020-09-16 17:50:43 +02:00
2020-07-29 14:41:57 +02:00