3 ms·
> So I went through all our usages of find_if and I found that it was only used in a proper way in about 20% of all the cases. > This means that the Pareto pri
by yellow_lead 5y ago
> So I went through all our usages of find_if and I found that it was only used in a proper way in about 20% of all the cases.
> This means that the Pareto principle applies here too. In 80% of the cases, std::find_if should not have been used.
I don't think this is the pareto principle. Its a rule of probabilities, i.e 1-X.
- tomjakubowski 5y agoThe Pareto principle can be stated thus: When the percentage sign's 89 minus nine That's Pareto
- kragen 5y agoAgreed. 80% of the `find_if` cases require 20% of the what, exactly? The functions? But he's using four times as many functions now.