Results 788 comments of Benjamin Gruenbaum

@matthewp Feel free to take my code from https://github.com/nodejs/node/pull/31921 and rebase it/copy it over the changed loader code. Happy to answer any questions about it.

You can also define a proxy over the buffer though that would probably be expensive since it'd be hit on every access. I wonder if a proxy with only a...

> Forking node, quitting my job, and moving into the woods to write a new JS platform with an extensible module system. Why does that sound so appealing 😅 Anyway...

(You can also use other machinery like policies https://nodejs.org/api/policy.html#dependency-redirection to do this but this is "right up the alley" of loaders )

@Farenheith happy to help running the benchmarks it can be a bit tricky. They run code before/after a change and then perform a [statistical significance test](https://en.wikipedia.org/wiki/Student%27s_t-test) to verify the changes...

cc @mcollina you are currently request changes on this PTAL

> If I do that I could be introducing a new breaking change, though, so I'm not really sure about it Yes, let's not introduce any breaking changes (and I...

@ronag > Regarding on() I would prefer if we have a batched iterator helper. the changes here do not prevent that sort of extension? Note this mostly improves the performance...