> Yes, but having a faster fraction type would be great. SymPy doesn't
> actually use the fractions module because it's too slow. Instead SymPy
> has its own pure Python implementation

Oscar, I think now (3.10) the stdlib implementation arithmetics is optimized 
like the SymPy's pure Python fallback.  Let me know if I miss something.  
(There is some slowdown for fractions with small components and a PR to address 
this.)
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/A4R76H36Q7ZL75PBVZYJFVOYBHQF4SLZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to