Yet another run at reduce (collect) (original) (raw)
Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Jan 9 13:13:12 PST 2013
- Previous message: Yet another run at reduce (collect)
- Next message: Yet another run at reduce (collect)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/10/2013 01:10 AM, Aleksey Shipilev wrote:
On 01/09/2013 11:25 PM, Doug Lea wrote:
On 01/09/13 13:56, Brian Goetz wrote:
I've pushed a rename to collect(). Check it out.
Yay! Thanks! Ok, this is quite an intrusive change to adapt for my performance tests. Can you please add more Javadocs for Collector? In fact, I need more details on: a) Should makeResult() return the new result on every call? b) Can combine(result, other) return updated $result, or it should return distinct collectable?
Also, is there a bulk accumulate method (guess that requires the exposure of the backing tree)? It gets interesting when you do collecting in e.g. AtomicX, and want to collect the values into simple scalar, only updating the costly structure afterwards.
-Aleksey.
- Previous message: Yet another run at reduce (collect)
- Next message: Yet another run at reduce (collect)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list