Yours might be a little more performant, but I'm not sure which relevant cases the end result may differ.