Closed warpech closed 5 years ago
cc @pytlesk4
@tomalec please re-review.
I have achieved performing the same test using invertible
set as true
and then false
by creating a new helper functions: variantIt
, insertIf
and usage of spread operator. I think this is quite neat, similar to NUnit fixtures. I wonder if this is readable, though. Please let me know.
I wonder if this is readable, though. Please let me know.
At least to me it is :)
@warpech thanks for taking this over the finish line!
@pytlesk4 once again thanks for starting a great PR and sorry for being picky :)
Released today as 2.2.0
@warpech can this get published to NPM?
Done, thanks for pinging me!
Continuation of https://github.com/Starcounter-Jack/JSON-Patch/pull/226
Changes that I made compared to the original PR:
inversible
toinvertible
. Please correct me if I'm wrongPending questions:
Benchmark results:
Before this PR (bbd3002ac0ec296b8289590bdb5fd576dca17e0b,
npm run build && npm run bench-duplex
)After this PR