Board index » delphi » Fast SQR, SQRT, Cos and sin (help!)
unbeh...@ufps8.unifr.ch (Unbehaun Ulf)
Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Fast SQR, SQRT, Cos and sin (help!)
I am working on a pattern recognition project. Since we have to run our code in real time, the speed of is our biggest restriction. I am now searching for a way how to
accelerate the crucial procedures. Most of the CPU time is used to `turn` points around an `origin point (0,0). These points are never more than 200 pixels away from this origin and will only be turned once. I only need the (Word) x,y position in the 200*200 Array. At the moment the procedure in question runs with the classic cos sin sqrt .... commands to calculate the new position of the point. How can i accelerate the whole procedure ? Or is there a faster way to calculate sqrt for example ? (I am working on a PC 586 66mhz, BP 7) Thanks for every hint |