Closed olejorgenb closed 4 months ago
Note: This is untested and I don't have time/energy to do any more on this, so if no one wants to wrap it up, feel free to close it.
Noticed this while profiling ics-py which felt really slow (even considering large ics files and it being python).
Would speed up https://github.com/ics-py/ics-py 3% ~7% so not that much, but maybe worth a few line changes.
(the 4 first call-sites are related to the comment regexs)
(github refuse to upload the py-spy profile..)
Note: This is untested and I don't have time/energy to do any more on this, so if no one wants to wrap it up, feel free to close it.
Noticed this while profiling ics-py which felt really slow (even considering large ics files and it being python).
Would speed up https://github.com/ics-py/ics-py
3%~7% so not that much, but maybe worth a few line changes.(github refuse to upload the py-spy profile..)