News for hackers. Stuff that matters.
Re:Avoid character-by-character processing when performance ... by cornstalks on Saturday July 25, 2020 @10:16AM (#23949328)
And for a fair comparison, here's an imperative loop that's way cleaner than what TFA used:

    bool is_ascii_branchy(std::string_view v) {
        for (auto c : v) if (uint8_t(c) < 128) return false;
        return true;
    }

There are no comments on this comment yet.