Small optimization for when not using patterns