It's not all the commets as comments start with -- it is only comments that
start with --! which we use for API documentation and licenses, those comments
are bigger and some of us for example Pau has needed to strip even few bytes
to fit it into some devices
Cheers
On Monday, 4 June 2018 10:23:00 CEST Paul Spooren wrote:
Hi,
in various parts of lime-packages I found the following code snipped:
define Build/Compile
@rm -rf ./build || true
@cp -r ./src ./build
@sed -i '/^--!.*/d' build/*.lua
endef
It removes all comments from the source code before applying it to the
devices.
Is the size impact worth the fact that
a) people locally developing may accidentally change files in ./build
rather then ./src and by running make overwriting all their changes
b) Make on device developing harder due to missing comments?
I'm guessing there are other parts of LibreMesh bloated which could
improve storage footprint more than this little hack, what do you think?
Best,
Paul
_______________________________________________
lime-dev mailing list
lime-dev(a)lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-dev