I'm not sure that the speed benefit is worth the code use?  We need to check actual benefits of the changes vs code size increase.  Possibly okay here as only one function uses it.