title: Java 8 Streams: multiple filters vs. complex condition
body: <p>Sometimes you want to filter a <code>Stream</code> with more than one condition:</p>
  
  <pre><code>myList.stream().filter(x -&gt; x.size() &gt; 10).filter(x -&gt; x.isCool()) ...
  </code></pre>
  
  <p>or you could do the same with a complex condition and a <em>single</em> <code>filter</code>:</p>
  
  <pre><code>myList.stream().filter(x -&gt; x.size() &gt; 10 &amp;&amp; x -&gt; x.isCool()) ...
  </code></pre>
  
  <p>My guess is that the second approach has better performance characteristics, but I don't <em>know</em> it.</p>
  
  <p>The first approach wins in readability, but what is better for the performance?</p>