Mallett, Donald B wrote:
> Take a Mac and a PC of same speed and configuration, Mac will complete the
> same type of task faster due to the Mac software uses less lines of code.
Wow. That's so wrong it's criminal. Lines of code does not indicate
*anything* about relative performance. Especially when in many cases
now you can compile the same source code a UNIX box, a Mac and a PC
running a UNIX OS.
As a matter of fact, one can actually increase performance in some cases
by adding a couple lines of code to reduce the number of object
reference lookups performed. Or by unrolling a loop (again, increasing
your line count). But really, source code length is meaningless since
it's only meant to be easier for a human to read than binary machine
code. It all turns into binary in the end.
-- -andyhttp://home.twcny.rr.com/andylevy/dakota - andy-dml@levyclan.us -------------------------------------------- "Whatever Adam does, do the opposite and you'll be fine" -Bob Tom --------------------------------------------
This archive was generated by hypermail 2b29 : Fri Feb 06 2004 - 11:47:07 EST