Home
wow. `TextEncoder` api in node is about 2 times slower than `Buffer` :neocat_woozy: [apparently](https://github.com/nodejs/node/issues/50485#issuecomment-1786915761) `Buffer`s use a buffer pool, and `TextEncoder` creates a new `ArrayBuffer` each time, which is slower. web apis suck so much smh