title: Which would be better in terms of performance Lambda or simple loop?
body: <p>I have quickly read over the <a href="http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html" rel="noreferrer">Oracle Lambda Expression</a> documentation.</p>
  
  <p>This kind of example has helped me to understand better, though:</p>
  
  <pre><code>//Old way:
  List&lt;Integer&gt; list = Arrays.asList(1, 2, 3, 4, 5, 6, 7);
  for(Integer n: list) {
  System.out.println(n);
  }
  
  //New way:
  List&lt;Integer&gt; list = Arrays.asList(1, 2, 3, 4, 5, 6, 7);
  list.forEach(n -&gt; System.out.println(n));
  
  
  //or we can use :: double colon operator in Java 8
  list.forEach(System.out::println);
  </code></pre>
  
  <p>Still, I don't understand why it's such an innovation. It's just a method that dies when the "method variable" ends, right? Why should I use this instead of a real method?
  Which would be better option in terms of performance. Lambda or simple loop.</p>