lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Nov 2, 2012, at 2:33 PM, Finn Wilcox <finnw@firecloudsw.co.uk> wrote
> Probably not a good idea anyway, as the compressed part could contain "]]"

It's OK. I was scanning and picking a safe number of '=' signs for each PNG.

FWIW just escaping a handful of characters in a traditional string literal encoding doesn't take 
appreciably more bytes, and I still get to use the built in lexer to do my decoding without the overhead 
of an  intermediary encoding form.