3 ms·
Here's a breakdown https://github.com/npm/npm/issues/11283#issuecomment-175246823 https://github.com/npm/npm/issues/11283#issuecomment-1752468...
by ghjnut 11y ago
Here's a breakdown
https://github.com/npm/npm/issues/11283#issuecomment-175246823 https://github.com/npm/npm/issues/11283#issuecomment-1752468...
- jessaustin 11y agoI guess we're supposed to assume that V8 is smart enough to inline that sort of function definition, but it seems deeply weird to me that drawBar() is defined inside the "hot" method like that. Also, I would have expected that streams would have been used for this. Logging is a very common "simple example" on node streams how-to pages.