b5985cf690
Summary:fast & accurate implementation See https://github.com/gre/bezier-easing the library is embedded in React Native fixes #6207 & to follow #6340 (or to replace it) cc vjeux tests --- [the lib tests](https://github.com/gre/bezier-easing/blob/master/test/test.js) ensure the library is accurate. It is tested that the library have a precision better than ±0.000001 . performance --- On my macbook pro, [the lib benchmark](https://github.com/gre/bezier-easing/blob/master/benchmark.js) have: ``` BezierEasing: instanciation x 1,043,725 ops/sec ±1.46% (82 runs sampled) BezierEasing: call x 7,866,642 ops/sec ±0.93% (85 runs sampled) BezierEasing: instanciation + call x 803,051 ops/sec ±1.58% (74 runs sampled) ``` Closes https://github.com/facebook/react-native/pull/6433 Differential Revision: D3045854 Pulled By: vjeux fb-gh-sync-id: b3c5dba19195a6719967b4fdc8ef940cc067b1f4 shipit-source-id: b3c5dba19195a6719967b4fdc8ef940cc067b1f4 |
||
---|---|---|
.. | ||
examples | ||
release | ||
src |