Re: strlen(), K+1: clarification
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Feb 2008 09:32:18 GMT
On Fri, 22 Feb 2008 08:03:32 -0600, Willem wrote
(in article <slrnfrtlhk.1e9s.willem@xxxxxxxxxxxxxx>):
spinoza1111 wrote:
He made the same mistake as me, and we are quite beyond apologies
given his conduct. strlen is not in essence any slower than a math
operation since it can be a single instruction whereas the math
instruction is in many cases two operations (push the constant, do the
math).
Do you seriously believe that each instruction takes the same amount
of time to process ?
I'm fairly convinced that he may just be intentionally spewing
falsehoods just for the attention it garners. Nobody could this many
things wrong over and over again. His batting average is too bad.
No scientific generalization, only folklore round de campfire,
declares that strlen *must* be slower than subtracting a constant on
all possible machines.
IT IS! What part of O(N) don't you understand ?
My memory is fuzzy on this, but I think that at one point big-O
notation was claimed to be some sort of corporate conspiracy against
the working man in an early dose of Nilgewater. IOW, same old story.
I saw Clive's mistake as the same overall mistake,
I hope you realize now that it is not in fact the same mistake.
I think he does realize it, but it garners more attention if he
pretends otherwise.
A simple "Oh, I see. You're right." would have been enough.
But for a head case that desperately seeks any and all attention, good
or bad, it would have been counterproductive to do so.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw
.
- Follow-Ups:
- Re: strlen(), K+1: clarification
- From: Willem
- Re: strlen(), K+1: clarification
- References:
- strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- From: Ben Bacarisse
- Re: strlen(), K+1: clarification
- From: spinoza1111
- Re: strlen(), K+1: clarification
- From: Willem
- strlen(), K+1: clarification
- Prev by Date: Re: strlen(), K+1: clarification
- Next by Date: Re: strlen(), K+1: clarification
- Previous by thread: Re: strlen(), K+1: clarification
- Next by thread: Re: strlen(), K+1: clarification
- Index(es):
Relevant Pages
|