For some reason this was not inlined. Considering it's a very simple function and function call overhead could be measurable. In the case of the simple brush benchmark file from the current sculpting project (#118145), this improved performance by 6%, from 2.44s to 2.29s.