View Single Post
06-20-12, 07:54 PM   #20
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
Nah... that was a thought that didn't work out lol

only way I could see it would have a to unpack the table,
have a loop create a string to recreate the table values,
append the added values to the string,
and then loadstring it...

only problems I see is then you are throwing out functions rapidly instead of tables, and wasting more cpu cycles and memory

the only real question is how huge are these tables that you have to worry about the garbage collection? or is there another way to write the code so that you don't need to use so many tables?

Oh well... I guess lua doesn't enjoy the nils as much as blizzard enjoys supplying them as returns.
(although the logical sweetness of nil == false and not( nil or false) == true almost gives a 3rd logic state )
  Reply With Quote