Avoid 4 function calls and computing the min and max index for every triangle. Instead just fill the index buffer data directly. For me this gives a 6% FPS playback improvement in the 4.3 splash screen file. Pull Request: https://projects.blender.org/blender/blender/pulls/140684