Epicboy...
You are wrong. Sin and Cos are bottlenecks that is why people use lookup tables. If you designed your program correctly based on an industry standard model then you would have identified potential bottlenecks even before your did any programming at all.
Good design is about the model on paper NOT the program. Designing the program is one of the last phases in the system development life cycle.
Why do people use Bubble Sort? Because they havent designed their models correctly thats why. They think that because the code needed to perform this algoirthm is short, it must be better. WRONG! If they had designed it correctly they would use an algirithm with an Order of Magnitude of '0n' instead of 'On Squared'.
It amazes me that people assume they can get away with sloppy code because cpu's are so fast today it does not make a significent difference to the speed of their programs.
How wrong they are.
You are wrong. Sin and Cos are bottlenecks that is why people use lookup tables. If you designed your program correctly based on an industry standard model then you would have identified potential bottlenecks even before your did any programming at all.
Good design is about the model on paper NOT the program. Designing the program is one of the last phases in the system development life cycle.
Why do people use Bubble Sort? Because they havent designed their models correctly thats why. They think that because the code needed to perform this algoirthm is short, it must be better. WRONG! If they had designed it correctly they would use an algirithm with an Order of Magnitude of '0n' instead of 'On Squared'.
It amazes me that people assume they can get away with sloppy code because cpu's are so fast today it does not make a significent difference to the speed of their programs.
How wrong they are.