You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
HicaroD
changed the title
probably unnecessary array copies in _compute_all method from EKF class
performance: probably unnecessary array copies in _compute_all method from EKF class
Dec 8, 2023
I've used Scalene to profile my code which uses ahrs in order to filter sensor data, and I noticed in the left side, more especifically in the yellow column, that I'm doing 13 MB/s of copies in the line where I instantiate EKF.
Those copies can be quite inneficient and it looks useless:
ahrs/ahrs/filters/ekf.py
Lines 1107 to 1108 in 761ff0e
Same for magnetometer here:
ahrs/ahrs/filters/ekf.py
Line 1117 in 761ff0e
The text was updated successfully, but these errors were encountered: