Giter Site home page Giter Site logo

Add A.flatMap about ts-belt HOT 1 CLOSED

mobily avatar mobily commented on July 17, 2024 1
Add A.flatMap

from ts-belt.

Comments (1)

mobily avatar mobily commented on July 17, 2024 1

@ivan-kleshnin added in v4.0.0-rc.5 🚀 14a5c15

benchmarks:

flatMap (single function call)

✔  @mobily/ts-belt  27,383,074.99  ops/sec  ±0.33%  (99 runs)  fastest
██████████████████████████████████████████████████████████████████████


✔  remeda            1,759,670.66  ops/sec  ±1.36%  (97 runs)  -93.57%
████


✔  ramda             1,392,700.93  ops/sec  ±0.52%  (91 runs)  -94.91%
███


✔  rambda            4,870,498.47  ops/sec  ±0.92%  (98 runs)  -82.21%
████████████


✔  lodash/fp         5,749,906.26  ops/sec  ±0.78%  (87 runs)  -79.00%
██████████████

→ Fastest is @mobily/ts-belt

flatMap (function call inside pipe)

✔  @mobily/ts-belt  21,116,789.82  ops/sec  ±2.48%  (94 runs)  fastest
██████████████████████████████████████████████████████████████████████


✔  remeda            2,500,686.11  ops/sec  ±1.44%  (98 runs)  -88.16%
████████


✔  ramda               872,490.77  ops/sec  ±0.77%  (92 runs)  -95.87%
██


✔  rambda            4,248,478.35  ops/sec  ±0.54%  (93 runs)  -79.88%
██████████████


✔  lodash/fp           896,410.20  ops/sec  ±1.63%  (93 runs)  -95.75%
██

→ Fastest is @mobily/ts-belt

from ts-belt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.