New submission from Marek Madejski :
"Turtle" module is closely related to geometry, which is also covered by "math"
(and "cmath") module. Nevertheless, in many places in "turtle" the wheel is
being reinvented. Currently, only π and basing trig functions are used.
Performance may be improved by such refactor (for example, by using
"math.hypot" instead of manual calculation of vector norm).
--
components: Library (Lib)
messages: 375215
nosy: TrangOul
priority: normal
pull_requests: 20965
severity: normal
status: open
title: Use math module in turtle
type: performance
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue41528>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com