« first day (5040 days earlier)      last day (27 days later) » 

11:48 AM
it's obvious that the first function should take more time than the second one because Stream API is the way "heavier"” thanks to the JIT compiler, you don’t lose too much, if anything, with most Stream usages. Anyway, remember that you should only try to optimize critical sections of your application code. — Didier L 19 secs ago
 
6 hours later…

« first day (5040 days earlier)      last day (27 days later) »