News for hackers. Stuff that matters.
Re:Making a Go program 70% faster with a one character change by slcjordan on Monday November 14, 2022 @02:35PM (#33599680)
They should probably replace that with 2 if statements to make the error path and the non-error path obvious:

    if err != nil {
        return nil, err
    }
    if match {
        return rule, nil
    }

There are no comments on this comment yet.