Optimizing Lua string literals to save 400 bytes (purplesyringa.moe)

9 points by ibobev 3 days ago

pillmillipedes 19 minutes ago

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...