Closed GoogleCodeExporter closed 9 years ago
I'm sympathetic to this, and I'd definitely like to see your implementation,
but:
- Whatever we do here, JDK8 will do much, much, much better with parallel
streams.
- JDK8's implementation is pretty heavily ForkJoinPool-dependent, and I just
don't know if that's strictly necessary to get peak efficiency, or what, and if
we'd need JDK7 to approximate that performance.
To be sure, we've done "poor man's substitutes" for JDK features before,
specifically including Closer as a substitute for try-with-resources.
If we do pursue this, I'd be hesitant to do it without making it really good,
despite the substantial effort that would involve.
Original comment by lowas...@google.com
on 22 May 2013 at 7:18
The SO poster even says "I think Java 8 streams will do something like this" --
yes, a TON of work has gone into that, and it's in every way what you want, so
the question is only "but I want it sooner". We should not spend any time
duplicating their effort.
Original comment by kevinb@google.com
on 24 May 2013 at 2:46
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<issue id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:12
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
egor@technoparkcorp.com
on 22 May 2013 at 7:06