On Sun, 2021-12-19 at 18:48 +0000, Tigran Aivazian wrote: > To eliminate the possibility of being affected by the different > versions of numpy I have just now upgraded numpy in Python 3.8 > environment to the latest version, so both 3.8 and 3.10 and using > numpy 1.21.4 and still the timing is exactly the same.
NumPy is very unlikely to have gotten slower. Please please time your script before jumping to conclusion. For example 2/3 of the time of that pendulum plotter is spend in plotting, and most of that seems to be spend in text rendering. (Yeah, there is a a little bit of time in NumPy's `arr.take()` also, but I doubt that has anything to do with this.) Now, I don't know what does the text rendering, but maybe that got slower. Cheers, Sebastian > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/THPN4OWM3A335LDO7HVIQSIDFFVO5URZ/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6W7T6NY2LOOKH5IEIZIKNEOXSO47TZWR/ Code of Conduct: http://python.org/psf/codeofconduct/