#68 CQuery: invalid use ForkJoinPool.commonPool

بسته‌شده
4 سال پیش باز شده توسط ranides · 1 دیدگاه
  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 سال پیش
مالک

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

Benchmark shows something around 20% slower than builtins, which is acceptable
ranides ارجاع این مسئله به کامیت 4 سال پیش
ranides ارجاع این مسئله به کامیت 4 سال پیش
ranides 4 سال پیش بسته شد
برای پیوستن به گفتگو، وارد شودید.
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.