Part of #118145. There isn't much to comment on here compared to the other refactors. I measured something like a 20% performance improvement on the benchmark file, but there are some obvious problems with the brush's influence radius and affect in the benchmark file that that isn't a very useful measurement. Pull Request: https://projects.blender.org/blender/blender/pulls/123154