2 ms·
You have to measure this (carefully). My gut feeling is that assuming streams are (in the end, but without looking) based on the loops, and Java JIT has great
by eveningcoffee 12y ago
You have to measure this (carefully).
My gut feeling is that assuming streams are (in the end, but without looking) based on the loops, and Java JIT has great inlining capacity, there is really no measurable difference.
Again, one actually should measure it to conclude anything.