Author: Dann Corbit
Date: 19:14:46 11/01/99
Go up one level in this thread
On November 01, 1999 at 22:08:44, leonid wrote: [snip] >I remember that one small program I wrote in Assembler and later in Pascal. >Pascal version was around 10 times bigger and as much slow. The choice of algorithm will be many, many times more important than the choice of language. It is typical for a program to spend 90% of the time in 10% of the code. So when optimization needs to take place, first profile the source. Then, for those areas where the CPU is the bottleneck, optimize. First, try to optimize the algorithm. Then it might be worthwhile to optimize in assembly language. The latest optimizing compilers do remarkably well -- especially for large pieces of code. It is still true that for tiny patches of code, humans can optimize better than a compiler if they are experts. Coding a huge project from stem to stern in assembly languge would be a serious mistake, unless that is the only language you knew.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.