#67 collections: parallel spliterators

Lezárt
megnyitva ekkor: 4 éve ranides által · 1 hozzászólás
ranides hozzászólt 4 éve

At this moment, our collections do not support parallel spliterators.

Especially VirtualList and IntRange should return specialized spliterators.

At this moment, our collections do not support parallel spliterators. Especially `VirtualList` and `IntRange` should return specialized spliterators.
ranides hivatkozott erre a hibajegyre egy commit-ban ekkor: 4 éve
ranides hivatkozott erre a hibajegyre egy commit-ban ekkor: 4 éve
ranides lezárta ekkor: 4 éve
ranides hozzászólt 4 éve
Tulajdonos

In fact, default spliterator created from Iterator tries to split data anyway (using buffering and assuming, that producing values is faster than processing, which is reasonable assumption).

We put our implementation inside VirtualList and IntRange, but it is unnecessary to put it everywhere, especially because our data structures are not designed for parallelization in first place, I suppose.

They are fast, sequential, memory bounded, designed for realtime constraints, not for parallel processing which introduces a lot of overhead anyway.

In fact, default spliterator created from Iterator tries to split data anyway (using buffering and assuming, that producing values is faster than processing, which is reasonable assumption). We put our implementation inside VirtualList and IntRange, but it is unnecessary to put it everywhere, especially because our data structures are not designed for parallelization in first place, I suppose. They are fast, sequential, memory bounded, designed for realtime constraints, not for parallel processing which introduces a lot of overhead anyway.
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.