You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to have a multi-threaded utility class similar to FluentIterable, which would do exactly what FluentIterable is doing, but in multiple threads. I'm ready to submit its code together with unit tests (since I already implemented it for my own needs). Let me know what do you think.
The text was updated successfully, but these errors were encountered:
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.
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 issue created by e...@technoparkcorp.com on 2013-05-22 at 07:06 PM
See original post at SO: http://stackoverflow.com/questions/16568993
Would be great to have a multi-threaded utility class similar to
FluentIterable
, which would do exactly whatFluentIterable
is doing, but in multiple threads. I'm ready to submit its code together with unit tests (since I already implemented it for my own needs). Let me know what do you think.The text was updated successfully, but these errors were encountered: