News for hackers. Stuff that matters.
Re:Go 1.18 by Groxx on Tuesday March 15, 2022 @02:57PM (#30689471)
While I agree that it'll probably increase, for non-performance-sensitive stuff (or small lists) that doesn't really seem like a problem. And for cases where it is, the answer is the same as it has always been: profile and optimize.

Though now it's much easier to make a "matches, mismatches := slices.Split(xs, func(x whatever) bool { return x == condition })" helper, so that improvement even reduces the number of lines further.

There are no comments on this comment yet.