Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. When is it large ?

When is it large ?

Scheduled Pinned Locked Moved The Lounge
data-structuresquestion
22 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1 123 0

    [Message Deleted]

    E Offline
    E Offline
    El Corazon
    wrote on last edited by
    #13

    The Grand Negus wrote:

    Windows Vista reportedly has over 50 million lines of code in it, and now we're approaching the ridiculous.

    from your own link: "SLOC is particularly ineffective at comparing programs written in different languages unless adjustment factors are applied to normalize languages. Various computer languages balance brevity and clarity in different ways; as an extreme example, most assembly languages would require hundreds of lines of code to perform the same task as a few characters in APL." and: "Another increasingly common problem in comparing SLOC metrics is the difference between auto-generated and hand-written code. Modern software tools often have the capability to auto-generate enormous amounts of code with a few clicks of a mouse. For instance, GUI builders automatically generate all the source code for a GUI object simply by dragging an icon onto a workspace. The work involved in creating this code cannot reasonably be compared to the work necessary to write a device driver, for instance. By the same token, a hand-coded custom GUI class could easily be more demanding than a simple device driver; hence the shortcoming of this metric." in the end it is functional metric that matters most. If the code that is operated 90% of the time is bloated, the system will be sluggish regardless of total lines of code or languages. If you spend 90% of your time optimizing GUI code that is operated 1% of the time rather than using a GUI builder, you are wasting hard-earned company money and wasting your time.

    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

    J 1 Reply Last reply
    0
    • L Lost User

      code-frog wrote:

      For the record my favorite menu item at McDonald's is ice water. The rest of their food is .

      My favorite is the double cheese burger. One dollar can go a long way. ;P I also eat a lot of food from The Waffle House. Texas bacon patty melts are pretty good. One quarter pound patty, two slices of cheese, 3 strips of thick meaty bacon, diced onions, and Texas toast sliced 1 inch thick per slice, the bread is buttered edge to edge and then it is put on the grill, the butter melts and the bread turns into buttery toast with a crispy skin. One of those with hashbrowns smothered, covered, and chunked (aka onions, melted cheese on top, and diced ham). Mmmm. The omlets are good too, sausage cheese omlets with a few slices of jalopinio in it are my favorite. Sometimes I will get a T-Bone steak cooked medium rare from there too. Since I work there as a grill operator I can eat as much as I want for free (almost free, they take about 2 dollars a day regardless if I eat or not) so I make sure to get more than my monies worth of food from there. I make the best food. ;P

      █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

      J Offline
      J Offline
      Jerry Hammond
      wrote on last edited by
      #14

      Whoever voteed CSS' post less then a 5 is generally known in the world of the truly alive as basement-dwelling milquetoast. Please, don't ask me how I really feel. :P

      Learning is not a spectator sport. - D. Blocher

      L 1 Reply Last reply
      0
      • J Jerry Hammond

        Whoever voteed CSS' post less then a 5 is generally known in the world of the truly alive as basement-dwelling milquetoast. Please, don't ask me how I really feel. :P

        Learning is not a spectator sport. - D. Blocher

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #15

        Jerry Hammond wrote:

        Whoever voteed CSS' post less then a 5 is generally known in the world of the truly alive as basement-dwelling milquetoast.

        Thank you!

        █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

        C 1 Reply Last reply
        0
        • L Lost User

          code-frog wrote:

          For the record my favorite menu item at McDonald's is ice water. The rest of their food is .

          My favorite is the double cheese burger. One dollar can go a long way. ;P I also eat a lot of food from The Waffle House. Texas bacon patty melts are pretty good. One quarter pound patty, two slices of cheese, 3 strips of thick meaty bacon, diced onions, and Texas toast sliced 1 inch thick per slice, the bread is buttered edge to edge and then it is put on the grill, the butter melts and the bread turns into buttery toast with a crispy skin. One of those with hashbrowns smothered, covered, and chunked (aka onions, melted cheese on top, and diced ham). Mmmm. The omlets are good too, sausage cheese omlets with a few slices of jalopinio in it are my favorite. Sometimes I will get a T-Bone steak cooked medium rare from there too. Since I work there as a grill operator I can eat as much as I want for free (almost free, they take about 2 dollars a day regardless if I eat or not) so I make sure to get more than my monies worth of food from there. I make the best food. ;P

          █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #16

          Captain See Sharp wrote:

          I also eat a lot of food from The Waffle House.

          Ah... Pecan waffle, eggs, a pot of black coffee, and a cigarette. Road breakfast of champions. :cool:

          ----

          It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.

          --Raymond Chen on MSDN

          1 Reply Last reply
          0
          • C Christian Graus

            Large is in the eye of the beholder - you need to ask the client what their largest data set would be, then double it.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            G Offline
            G Offline
            Gary Wheeler
            wrote on last edited by
            #17

            Based on my experience, actual size of a customer data set is at least 10n * r, where n is the number of nitwit, back-stabbing, empire-building managers involved in specifying the requirements r.


            Software Zen: delete this;

            1 Reply Last reply
            0
            • L Lost User

              code-frog wrote:

              For the record my favorite menu item at McDonald's is ice water. The rest of their food is .

              My favorite is the double cheese burger. One dollar can go a long way. ;P I also eat a lot of food from The Waffle House. Texas bacon patty melts are pretty good. One quarter pound patty, two slices of cheese, 3 strips of thick meaty bacon, diced onions, and Texas toast sliced 1 inch thick per slice, the bread is buttered edge to edge and then it is put on the grill, the butter melts and the bread turns into buttery toast with a crispy skin. One of those with hashbrowns smothered, covered, and chunked (aka onions, melted cheese on top, and diced ham). Mmmm. The omlets are good too, sausage cheese omlets with a few slices of jalopinio in it are my favorite. Sometimes I will get a T-Bone steak cooked medium rare from there too. Since I work there as a grill operator I can eat as much as I want for free (almost free, they take about 2 dollars a day regardless if I eat or not) so I make sure to get more than my monies worth of food from there. I make the best food. ;P

              █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

              G Offline
              G Offline
              Gary Wheeler
              wrote on last edited by
              #18

              Boy, would I love to be your cardiologist. You are a quadruple coronary bypass waiting to happen.


              Software Zen: delete this;

              1 Reply Last reply
              0
              • L Lost User

                Jerry Hammond wrote:

                Whoever voteed CSS' post less then a 5 is generally known in the world of the truly alive as basement-dwelling milquetoast.

                Thank you!

                █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

                C Offline
                C Offline
                code frog 0
                wrote on last edited by
                #19

                I agree with Jerry. There are those here that must eat turds for a living just so they can stomach themselves even a tiny bit. Total morons... they probably are text message spammers and enjoy it.:suss:


                My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my affinity, in this life or the next. - Gladiator. (Okay, not quite Gladiator but close.) I work to live. I do not live to work. My clients do not seem capable of grasping this fact. Ancient of days! august Athena! where, Where are thy men of might? - Lord Byron

                J 1 Reply Last reply
                0
                • C code frog 0

                  I agree with Jerry. There are those here that must eat turds for a living just so they can stomach themselves even a tiny bit. Total morons... they probably are text message spammers and enjoy it.:suss:


                  My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my affinity, in this life or the next. - Gladiator. (Okay, not quite Gladiator but close.) I work to live. I do not live to work. My clients do not seem capable of grasping this fact. Ancient of days! august Athena! where, Where are thy men of might? - Lord Byron

                  J Offline
                  J Offline
                  Jasmine2501
                  wrote on last edited by
                  #20

                  Ack, I did not need that image in my head for the second day in a row. Thanks a lot.

                  "Quality Software since 1983!"
                  http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

                  1 Reply Last reply
                  0
                  • E El Corazon

                    The Grand Negus wrote:

                    Windows Vista reportedly has over 50 million lines of code in it, and now we're approaching the ridiculous.

                    from your own link: "SLOC is particularly ineffective at comparing programs written in different languages unless adjustment factors are applied to normalize languages. Various computer languages balance brevity and clarity in different ways; as an extreme example, most assembly languages would require hundreds of lines of code to perform the same task as a few characters in APL." and: "Another increasingly common problem in comparing SLOC metrics is the difference between auto-generated and hand-written code. Modern software tools often have the capability to auto-generate enormous amounts of code with a few clicks of a mouse. For instance, GUI builders automatically generate all the source code for a GUI object simply by dragging an icon onto a workspace. The work involved in creating this code cannot reasonably be compared to the work necessary to write a device driver, for instance. By the same token, a hand-coded custom GUI class could easily be more demanding than a simple device driver; hence the shortcoming of this metric." in the end it is functional metric that matters most. If the code that is operated 90% of the time is bloated, the system will be sluggish regardless of total lines of code or languages. If you spend 90% of your time optimizing GUI code that is operated 1% of the time rather than using a GUI builder, you are wasting hard-earned company money and wasting your time.

                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                    J Offline
                    J Offline
                    Jasmine2501
                    wrote on last edited by
                    #21

                    Yeah but he wanted to know how many "calls" there are... not how much work was involved. LOC is a horrible measure of the amount of work involved, and not a good measure of "complexity" either. You have to carefully define what you mean by "call"... if it's "anytime something pushes onto the stack" then it's going to be a high number, but if it's "anytime the program calls system code" it's going to be a lower number, but probably a much more interesting graph. I always liked this blog entry here... showing the graph of an IIS request vs. Apache - pretty interesting. It shows differences in coding style between the open source world and the corporate world, but it does not really mean what the blogger says it means. http://blogs.zdnet.com/threatchaos/index.php?p=311 I tend to look at that and think the exact opposite of what the blogger says... I bet MS is simply re-using more code (since a lot of lines end at the same places), and Apache has a bunch of redundant code that could be extracted into functions, but I haven't seen the source code from either one. More function calls doesn't necessarily mean anything at all.

                    "Quality Software since 1983!"
                    http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.

                    1 Reply Last reply
                    0
                    • L Lost User

                      code-frog wrote:

                      For the record my favorite menu item at McDonald's is ice water. The rest of their food is .

                      My favorite is the double cheese burger. One dollar can go a long way. ;P I also eat a lot of food from The Waffle House. Texas bacon patty melts are pretty good. One quarter pound patty, two slices of cheese, 3 strips of thick meaty bacon, diced onions, and Texas toast sliced 1 inch thick per slice, the bread is buttered edge to edge and then it is put on the grill, the butter melts and the bread turns into buttery toast with a crispy skin. One of those with hashbrowns smothered, covered, and chunked (aka onions, melted cheese on top, and diced ham). Mmmm. The omlets are good too, sausage cheese omlets with a few slices of jalopinio in it are my favorite. Sometimes I will get a T-Bone steak cooked medium rare from there too. Since I work there as a grill operator I can eat as much as I want for free (almost free, they take about 2 dollars a day regardless if I eat or not) so I make sure to get more than my monies worth of food from there. I make the best food. ;P

                      █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

                      S Offline
                      S Offline
                      si618
                      wrote on last edited by
                      #22

                      <soapbox> I used to eat bacon, chicken and such meats until I read (from many sources) about how most of those animals are fed and treated when being raised and when they're slaughtered. Absolutely disgusting. Throw in the large-scale mass-farming requirements to feed our ever-growing population and how large companies have gobbled up all the small players and now its all about the money and how fast and fat you can grow food to make profit. Unfortunately, unless your rich and can afford organic or top-shelf meats, or raise and slaughter your own, you're eating crap X| Personally I think its better to eat things lower down the food chain. </soapbox>

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups