|
Posted by ^reaper^ on 08/27/05 22:13
While sipping absinthe, Onideus Mad Hatter heard a loud sucking noise
coming from alt.2600, and hastily inscribed the following unintelligible
Sanskrit in <news:li40h197gp8ilj274knpd65h5mhphsdcvd@4ax.com>:
> On Sat, 27 Aug 2005 00:07:59 -0700, "^reaper^" <knocking@deaths.door>
> wrote:
>
>>While sipping absinthe, Onideus Mad Hatter heard a loud sucking noise
>>coming from alt.2600, and hastily inscribed the following unintelligible
>>Sanskrit in <news:9cjvg1p0p8o26pktudpqbu8rg48rh8tt67@4ax.com>:
>>
>>> Coming from teh moron who thinks compression = efficiency you'll have to
>>> forgive me if all I can do is snicker at your naivety.
>>
>>That's a rather lame attempt at deflection considering I was talking about
>>code optimization and not data compression.
>
> Oh, I'm sorry, how ~exactly~ does it differ, Kiddo?
Oh, I'm sorry. How humiliating it must be for you to continue showing your
stupidity. But wtf, I'll try to save you further embarassment by answering
your idiotic question.
Data compression involves various algorithms for reducing overall data set
size. Data compression algorithm choices are largely driven by the data
type and destination. The resulting output can take the form of lossy or
lossless compression ratios or rates. Data compression results directly
translate to reduced storage and/or bandwidth requirements. Whereas code
optimization involves making logic changes (that cannot be handled by a
compiler or interpreter) to reduce computes that may (or not) result in a
reduction of lines of code. For example, ordering and/or nesting decision
blocks. Replacing unnecessary iteration with direct access calls. Using
recursion for node walking. Instantiating arrays with predicted lengths.
Passing variables by reference. Declaring local variables immediately
before they're used. Using try/catch blocks for edc. Using regex for
complex pattern matching or when testing for multiple patterns. Balancing
binary trees. Using bit masking for setting and checking states. And most
importantly, pulling your head otter your ass when coding so your proggie
doesn't end up looking, smelling, and running like a pos.
--
"Even if it doesn't work, there is something healthy and invigorating about
direct action." -- Henry Miller
Navigation:
[Reply to this message]
|