title: Is Java 8 findFirst().isPresent() more efficient than count() > 0?
body: <p>Given I have a stream <code>Stream&lt;T&gt; stream = list.stream().filter(some predicate)</code>  where the list is very large, is it more efficient to check whether the stream is non-empty by doing: <code>stream.count() &gt; 0</code> or by doing: <code>stream.findFirst().isPresent()</code>?</p>