No, it's not. It's just that ||= is more clear than |=. The short-circuiting of the ||= over |= isn't important here because the computation on the right is both pure and cheap.