fast-check
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -0,1 +1,9 @@ | ||
# 1.6.1 | ||
_Performance improvements_ | ||
## Fixes | ||
- ([PR#207](/pull/207)) Performance improvements done on `pure-rand` side | ||
# 1.6.0 | ||
@@ -2,0 +10,0 @@ |
@@ -33,3 +33,3 @@ var __read = (this && this.__read) || function (o, n) { | ||
Random.prototype.uniformIn = function (rangeMin, rangeMax) { | ||
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax)(this.internalRng), 2), v = _a[0], nrng = _a[1]; | ||
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax, this.internalRng), 2), v = _a[0], nrng = _a[1]; | ||
this.internalRng = nrng; | ||
@@ -36,0 +36,0 @@ return v; |
@@ -35,3 +35,3 @@ "use strict"; | ||
Random.prototype.uniformIn = function (rangeMin, rangeMax) { | ||
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax)(this.internalRng), 2), v = _a[0], nrng = _a[1]; | ||
var _a = __read(prand.uniformIntDistribution(rangeMin, rangeMax, this.internalRng), 2), v = _a[0], nrng = _a[1]; | ||
this.internalRng = nrng; | ||
@@ -38,0 +38,0 @@ return v; |
{ | ||
"name": "fast-check", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Property based testing framework for JavaScript (like QuickCheck)", | ||
@@ -9,2 +9,3 @@ "main": "lib/fast-check.js", | ||
"scripts": { | ||
"perf": "node perf/index.js", | ||
"prebuild": "ts-node prebuild/prebuild.ts", | ||
@@ -41,3 +42,3 @@ "build": "tsc", | ||
"lorem-ipsum": "~1.0.6", | ||
"pure-rand": "^1.3.2" | ||
"pure-rand": "^1.4.0" | ||
}, | ||
@@ -48,2 +49,3 @@ "devDependencies": { | ||
"@types/node": "^10.5.2", | ||
"benchmark": "^2.1.4", | ||
"browserify": "^16.2.2", | ||
@@ -50,0 +52,0 @@ "coveralls": "^3.0.2", |
Sorry, the diff of this file is too big to display
949951
19
17350
Updatedpure-rand@^1.4.0