Home TechnologyProgramming Subscribe to RSS
 

Why Does Using Arrays With Loops Improve Program Efficiency?

I know the importance of arrays when it comes to programming but how does it improve the efficiency of the program.

Answer Question

2 Answers - Sort by: Date | Rating

    An array will allow you to use numeric pointers to the distinct data sources. otherwise you can't iterate on a group of data. There are many more reasons but that is the most obvious.
    0 0

    Blurthater 

    answered 2 years ago

      An alternative to arrays might be something like a linked list.  If you were to process each item in a linked list it would in most cases take several times as much processing power as it would to perform the same operation against array elements.
      0 0

      Boris 

      answered 2 years ago

        Answer Question - Answers are editable for 5 min.

        If you do not Sign-in or Register your answers will be anonymous,

        your answers may also be checked before going online.

        More

        More

           
           

          Ask a Question via Twitter

          Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

          Blurtit Store

          Get T-shirts, hoodies, caps and more at the Blurtit store

          Blurtit International