This commit is contained in:
juanelas 2020-09-22 23:40:00 +02:00
parent 0603d4cfd7
commit 5256398e40
2 changed files with 0 additions and 4 deletions

View File

@ -827,8 +827,6 @@ let _useWorkers = false // The following is just to check whether we can use wor
This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers.
· With Node >=11 it is enabled by default (consider upgrading).
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `)
/* istanbul ignore next */
_useWorkers = true
}
}
/* eslint-enable no-lone-blocks */

View File

@ -676,8 +676,6 @@ if (!process.browser) { // Node.js
This node version doesn't support worker_threads. You should enable them in order to greatly speedup the generation of big prime numbers.
· With Node >=11 it is enabled by default (consider upgrading).
· With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `)
/* istanbul ignore next */
_useWorkers = true
}
} else { // Native JS
if (self.Worker) _useWorkers = true