This commit is contained in:
Juan Hernández Serrano 2019-04-24 13:17:29 +02:00
parent 6bb0b2f78e
commit b2d2c4e794
2 changed files with 2 additions and 2 deletions

View File

@ -685,7 +685,7 @@ let _useWorkers = true; // The following is just to check wheter Node.js can use
return true; return true;
} catch (e) { } catch (e) {
console.log(`[bigint-crypto-utils] WARNING: console.log(`[bigint-crypto-utils] WARNING:
This node version doesn't support worker_threads. You should enable them in order to greately speedup the generation of big prime numbers. 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 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 `); · With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
return false; return false;

View File

@ -738,7 +738,7 @@ if (!process.browser) { // Node.js
return true; return true;
} catch (e) { } catch (e) {
console.log(`[bigint-crypto-utils] WARNING: console.log(`[bigint-crypto-utils] WARNING:
This node version doesn't support worker_threads. You should enable them in order to greately speedup the generation of big prime numbers. 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 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 `); · With Node 10, starting with 10.5.0, you can enable worker_threads at runtime executing node --experimental-worker `);
return false; return false;