If you can write it in JS, v8 can garbage collect it. On Sat, Mar 10, 2012 at 2:46 PM, Phoscur <[email protected]> wrote:
> Short Question: Do V8 and Jägermonkey garbage collect prototype chains > at some point? > > Let code speak: https://gist.github.com/e83c353f7f16e14e4333 > > Actually, while writing this, I found the solution (line 69/70), but I > would like to leave it without that, as forgetting it may produce a > memory leak everytime. > > Also: How can I improve this pattern? Is it wrong to mix classical and > prototypal inheritance like this? > > I realize that this is one of the JavaScript features, static > programming languages are only capable of with clumsy reflection. And it > all comes from this magical Object.create, which uses I'm still exploring. > > If you think this is OT for nodejs, show me a better mailinglist to post > this please. > > Best regards, > Ph > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
