No functional changes expected. This PR extracts the `IndexRange` of the `BeztMap` span and its `size()` call out of the sorting loop. Doing this removes one `if` condition within the loop and gives a small performance boost. (Before: 0.93ms, After: 0.65ms average run of `sort_time_beztmaps`) Pull Request: https://projects.blender.org/blender/blender/pulls/121267