Closed MrinalJain17 closed 6 years ago
Closing since this was not creating any significant impact. Moreover, once custom indices are supported, this method of optimization would be invalid.
Nevertheless, optimization is a major factor and therefore, a new issue has been created in that regard.
https://github.com/MrinalJain17/mydia/blob/5ff2384fa34b5deb7f48fbbf7aedfc9a1ecfb5ab/mydia/mydia.py#L159
Terminate the loop if the required frames have been already read.