Page 6 of 6

Re: 32 lines of goodness, yet another OO lib

Posted: Sun May 13, 2012 1:13 am
by ishkabible
O it's this thing again... Well I'll have a looksy. how are you telling weather or not it collects the data?

edit:
just based on memory usage, I don't seem to have the issue. are you using __gc? the current Lua implementation doesn't respect __gc for tables. it only works for userdata.

I had to allocate a lot more to see than 50 to test it however.

Re: 32 lines of goodness, yet another OO lib

Posted: Sun May 13, 2012 1:35 am
by Xgoff
ishkabible wrote:O it's this thing again... Well I'll have a looksy. how are you telling weather or not it collects the data?

edit:
just based on memory usage, I don't seem to have the issue. are you using __gc? the current Lua implementation doesn't respect __gc for tables. it only works for userdata.

I had to allocate a lot more to see than 50 to test it however.
yeah i don't see it either: http://codepad.org/ivDxRNZx

your Panel instances are probably being referenced from somewhere

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Nov 02, 2012 12:49 am
by tommyroyall
My dearest apology for perhaps overlooking it, but could someone give me a download link? Thank you :).

Re: 32 lines of goodness, yet another OO lib

Posted: Fri Nov 02, 2012 12:51 am
by tommyroyall
I just realized I posted a reply asking for the download . . . I am a derp. Please ignore it xD.