Re: Unsigned integers

Tech-Archive recommends: Speed Up your PC by fixing your registry



Date: Mon, 16 May 2005 07:54:27 -0700
Name: "Bob Butler" <tiredofit@xxxxxxxxxx>

>"Danny" <NOSPAMFORdaniel_ahorn@xxxxxxxxx> wrote in message
>news:52ch8194jqga5pml24b4bkteikh71benpq@xxxxxxx
>> Which is exactly why I didn't say "best" but "most efficient". ;o)
>>
>> You know, in terms of storage one that requires least amount of
>> memory, in terms of speed one that runs the fastest. The two usually
>> go together.
>
>IME the two are more likely to be mutually exclusive

Not in this case because we're talking about data. The less data there
is, the more efficient it will be.

It is mutually exclusive in case of code, however. There, indeed, the
choice is usually between size and speed. For example, tight code is
less efficient (albeit more elegant, of course) than "unrolled loops'
which by comparison run faster.

Danny

(You guessed it! Remove NOSPAMFOR before emailing.)
.



Relevant Pages

  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (comp.theory)
  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (sci.math)
  • Re: Red-black trees?
    ... few storage allocators out there (not all of them named malloc ... significant way on the amount of storage requested. ... assigned memory the first program released. ...
    (comp.programming)
  • Re: Unsigned integers
    ... Danny wrote: ... in terms of storage one that requires least amount of ... >>> memory, in terms of speed one that runs the fastest. ...
    (microsoft.public.vb.syntax)
  • Re: Unsigned integers
    ... that respect compactness of storage format and speed of processing are very ... For example, tight code is ... > less efficient (albeit more elegant, of course) than "unrolled loops' ...
    (microsoft.public.vb.syntax)