Skip to content

Commit

Permalink
ups
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Oct 23, 2024
1 parent 29441a2 commit 46699f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected Map<T, Long> createRecodeMap(int estimate, ExecutorService pool) {
// final Map<T, Long> map = new HashMap<>((int)Math.min((long)estimate *2, size()));
final int s = size();
int k = OptimizerUtils.getTransformNumThreads();
if(pool != null || s < 10000)
if(pool == null || s < 10000)
return createRecodeMap(estimate, 0, s);
else
return parallelCreateRecodeMap(estimate, pool, s, k);
Expand Down

0 comments on commit 46699f1

Please sign in to comment.