#68 CQuery: invalid use ForkJoinPool.commonPool

Kapalı
ranides tarafından 4 yıl önce kere açıldı · 1 yorum
ranides 4 yıl önce olarak yorumlandı
  1. some work should be done in caller thread
  2. if we use commonPool, we should split work more than just to number of threads
  3. best option, not use commonPool at all

  4. please note, that manual implementation (even after 1,2 fixes) is two times slower than JDK parallel stream

1. some work should be done in caller thread 2. if we use commonPool, we should split work more than just to number of threads 3. best option, not use commonPool at all 4. please note, that manual implementation (even after 1,2 fixes) is two times slower than JDK parallel stream
ranides 4 yıl önce olarak yorumlandı
Sahibi

Benchmark shows something around 20% slower than builtins, which is acceptable

Benchmark shows something around 20% slower than builtins, which is acceptable
ranides 4 yıl önce işlemesinde bu sorunu işaret etti
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.