#68 CQuery: invalid use ForkJoinPool.commonPool

已關閉
ranides4 年之前創建 · 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 年之前 中引用了該問題
ranides4 年之前 關閉
登入 才能加入這對話。
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容