News for hackers. Stuff that matters.
Re:My failed attempt to shrink all NPM packages by 5% by advisedwang on Monday January 27, 2025 @12:11PM (#42843279)
The pros aren't all that compelling either. The npm repo is the only group that this would really be remotely significant for, and there seemed to be no interest. So it doesn't take much of a con to nix a solution to a non-problem.
Re:My failed attempt to shrink all NPM packages by 5% by ForOldHack on Monday January 27, 2025 @01:11PM (#42843948)
Every single download, until the end of time is affected: It speeds up the servers, speeds up the updates, saves disk space on the update servers, and saves on bandwidth costs and usage.

Everyone benefits, the only cost is a ultra microscopic time on the front end, and a tiny cost on the client end, and for a very significant number of users, time and money saved. The examples of compression here...

Re:My failed attempt to shrink all NPM packages by 5% by pclmulqdq on Monday January 27, 2025 @09:25PM (#42848236)
Plus a few years of a compression expert writing a JS implementation of what was likely some very cursed C. And someone auditing its security. And someone maintaining it.