logoalt Hacker News

Optimizing Lua string literals to save 400 bytes

8 pointsby ibobevlast Monday at 6:21 PM1 commentview on HN

Comments

pillmillipedestoday at 7:38 PM

interesting! have you tried putting the compressed payload into a large block comment at the end/start of the file, and recovering it by loading your own source as bytes to prevent the compiler from mangling the payload? I'm not sure if that would work but could be worth a try...