title: does multi threading improve performance? scenario java
body: <p>I have a <code>List&lt;Object&gt; objectsToProcess.</code>Lets say it contains 1000000 item`s. For all items in the array you then process each one like this : </p>
  
  <pre><code>for(Object : objectsToProcess){
      Go to database retrieve data.
      process
      save data
  }
  </code></pre>
  
  <p>My question is : would multi threading improve performance? I would of thought that multi threads are allocated by default by the processor anyways?</p>