branchless .filter(_).count() by llogiq · Pull Request #39107 · rust-lang/rust (original) (raw)
@bluss No, I mean, what's to prevent someone, say, a year from now submitting a PR that removes this specialization for similar reasons that @llogiq provided? I'm not referring to the behavior, but rather, the state of adding/removing optimizations like this?
I suppose the best answer to my concern is an executable benchmark, but I'm not sure we have the infrastructure in place for that?
(And maybe this concern just doesn't matter much in practice.)