News for hackers. Stuff that matters.
Re:My failed attempt to shrink all NPM packages by 5% by philipwhiuk on Monday January 27, 2025 @10:47AM (#42842333)
How do you evaluate call usage?
Re:My failed attempt to shrink all NPM packages by 5% by avodonosov on Tuesday January 28, 2025 @06:23PM (#42859485)
By instrumenting the code so that the function records the fact that it is being invoked.

Then the info about the called functions is sent back to the server.

(Only the functions never seen to be called are instrumented, the known active functions are not instrumented).