On 06/12/2013 08:47, Robert Voigtländer wrote:
Hi,
I try to squeeze out some performance of the code pasted on the link below.
http://pastebin.com/gMnqprST
The code will be used to continuously analyze sonar sensor data. I set this up
to calculate all coordinates in a sonar cone without heavy use of trigonometry
(assuming that this way is faster in the end).
I optimized as much as I could. Maybe one of you has another bright idea to
squeeze out a bit more?
Thanks
Robert
Actually for optimised code it looks very similar to some code posted
here
http://www.daniweb.com/software-development/python/threads/321181/python-bresenham-circle-arc-algorithm
over three years ago.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list