4 ms·
How funny that timing is. It showcases P5 which has absolutely awful bundle sizes because the code is written in a way that tree shaking (unused code removal) i
by lloydatkinson 4y ago
How funny that timing is. It showcases P5 which has absolutely awful bundle sizes because the code is written in a way that tree shaking (unused code removal) isn’t possible. It attaches everything to the p5.prototype.
This took a site I have from loading 200kb to 1.1mb. It also includes browser polyfills that haven’t been needed for years. Unacceptable.
I hope that P5 can get some attention as a result of Blocks to refactor it to solve this.
https://github.com/processing/p5.js/issues/5740#issuecomment-1309242564 https://github.com/processing/p5.js/issues/5740#issuecomment...
- deleted 4y ago[deleted]
- lloydatkinson 4y agohow typically hn for that to be downvoted