lua-users home
lua-l archive

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



On 07/05/2014 12:00, Philipp Janda wrote:
Am 07.05.2014 15:40 schröbte Thiago L.:
So I have a challenge for you all: A table copy script in less than 270
chars


239 bytes. Stole some of your tricks. Not extensively tested but seems to work ...

Philipp

Uhh it doesn't handle replacing _G.pairs with nil... Also I don't like that wrapper function nonsense... (table.copy.shallow(t,1) etc... bugs and obfuscation...)