Improved readability of `armature_deform.cc` high level API functions by using spans, references, and optional values instead of raw pointers. Threading callbacks are reorganized to avoid unused function parameters in code branches and makes it easier to verify which parts of the code are executed for given input arguments. Pull Request: https://projects.blender.org/blender/blender/pulls/141453