Hi there, I developed a small simple app, and wanted to add it to the BangleApps repo.
It is about 8.2kb (+ 0.5kb icon), but using a js minifier I can get it down to 3.4kb, at the expense of readability of course.
Also anyone who wants to check that the minified code hasn't been modified would have to use a similar minifier, and it could seem a bit dodgy / frustrating.
If I include the original source alongside the compressed version, is that still OK, or is it not worth the hassle for the sake of 5kb?
Thanks for any ideas, or suggestions on a better place to ask.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi there, I developed a small simple app, and wanted to add it to the BangleApps repo.
It is about 8.2kb (+ 0.5kb icon), but using a js minifier I can get it down to 3.4kb, at the expense of readability of course.
Also anyone who wants to check that the minified code hasn't been modified would have to use a similar minifier, and it could seem a bit dodgy / frustrating.
If I include the original source alongside the compressed version, is that still OK, or is it not worth the hassle for the sake of 5kb?
Thanks for any ideas, or suggestions on a better place to ask.