#64 CQuery: parallel

Kapalı
ranides tarafından 4 yıl önce kere açıldı · 4 yorum
ranides 4 yıl önce olarak yorumlandı

Review CQuery and prepare for correct parallelization.

Please remember about all atomic variables from #63.

Be prepared for derived classes which:

  • use internally parallel stream if possible
  • use internally parallel spliterator if possible

API for:

  • turn on/off query parallelization
  • check parallelization feature

Implement parallel processing for:

  • CQList
  • CQListSupplier
  • CQArray
  • CQArraySupplier
  • CQCollection
  • CQCollectionSupplier
  • CQAppend ?

Implement parallel processing for derived streams: prefer parallel if parent stream supports it.

Review CQuery and prepare for correct parallelization. Please remember about all atomic variables from #63. Be prepared for derived classes which: - use internally parallel stream if possible - use internally parallel spliterator if possible API for: - turn on/off query parallelization - check parallelization feature Implement parallel processing for: - CQList - CQListSupplier - CQArray - CQArraySupplier - CQCollection - CQCollectionSupplier - CQAppend ? Implement parallel processing for derived streams: prefer parallel if parent stream supports it.
ranides 4 yıl önce olarak yorumlandı
Sahibi
  • parallel for-each for list, array, collection and spliterator
- [x] parallel for-each for list, array, collection and **spliterator**
ranides 4 yıl önce olarak yorumlandı
Sahibi
  • coverage
- [ ] coverage
ranides 4 yıl önce işlemesinde bu sorunu işaret etti
ranides 4 yıl önce olarak yorumlandı
Sahibi

todo: we should mark additional feature: "hasFastParallelEach" - it should be returned if implementation of "each" is paralell sensitive and can use internally more than one thread.

In such situations, when fast-parallel-each is supported, we should prefer direct #each call instead of some other generic methods from support package.

Maybe, but this is really maybe: write additional method forEachParallel & whileEachParallel?

todo: we should mark additional feature: "hasFastParallelEach" - it should be returned if implementation of "each" is paralell sensitive and can use internally more than one thread. In such situations, when fast-parallel-each is supported, we should prefer direct #each call instead of some other generic methods from `support` package. Maybe, but this is *really* maybe: write additional method `forEachParallel` & `whileEachParallel`?
ranides 4 yıl önce olarak yorumlandı
Sahibi

Please note: our coverage tests should not profile performance problems which are known and delegated to #68

Please note: our coverage tests should not profile performance problems which are known and delegated to #68
ranides 4 yıl önce işlemesinde bu sorunu işaret etti
Giriş yap bu konuşmaya katılmak için.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.