Question

This is a discussion on Question within the C++ Programming forums, part of the General Programming Boards category; Given 2 programs to accomplish a task both are correct which one do we pic the smallest or the fastest?...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    84

    Question

    Given 2 programs to accomplish a task both are correct which one do we pic the smallest or the fastest?

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    The fastest...unless your HD has little space...
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    same as above

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Obviously, that depends on your need. If you have a PC with some gigs of RAM and HD space, speed is essential. If you have a mobile device where these resources are scarce, obviously you need a good resource management above all else. There is no absolute way of judging, only relative to your resources and needs.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    twm
    twm is offline
    root
    Join Date
    Sep 2003
    Posts
    232
    >Given 2 programs to accomplish a task both are correct which one do we pic
    >There is no absolute way of judging, only relative to your resources and needs.
    The answer is simple really. Use the program that would enhance your reputation the most. When you work to look good, you tend to do the right thing.
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21