Having used Collections and transducers and slices—all high-performance and high-expressivity array operators—I find 's primitives that casually create arrays at every step in a transformation chain infelicitous.

Object.entries, Object.assign, Array.map… I'm creating and destroying arrays left and right, which throw a lot of performance on the floor. The perf-conscious alternative is not very expressive: to write nested for-loops.

Follow

fitzgen.github.io/wu.js/

Wu billed as " for iterables".

And ZOMFG!

`require('wu').tang.clan` returns 36 🙌 hip-hop Easter eggs in code libraries for the win!!!

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!