squeeze out some performance

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Dec 10 00:57:57 CET 2013

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 
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

More information about the Python-list mailing list