npm docs weakmap ES3 compliant weakmap shim. may break on host objects (DOM stuff).
Not as efficient but has correct weak garbage collection semantics. On Fri, Dec 21, 2012 at 5:44 PM, Nathan Rajlich <[email protected]>wrote: > Rick! I forgot about that! I'll try to get something to you ASAP. > > On Fri, Dec 21, 2012 at 4:45 PM, Rick Waldron <[email protected]> > wrote: > > I asked Nathan Rajlich to write up a spec draft for WeakRefs based on > > node-weak, but I havent heard anything back... maybe he's listening here? > > > > Rick > > > > > > On Fri, Dec 21, 2012 at 4:07 PM, Mark Hahn <[email protected]> wrote: > >> > >> I've run into a need for both weak refs and maps in my new app. I > >> need these in node and in a browser (which can be limited to chrome). > >> > >> node-weak looks good for the node ref solution. I know weak-maps are > >> in V8, but are they supported in node? > >> > >> I'd also appreciate any comments on the state of weak refs/maps in > >> chrome. I know maps are supported with a command-line switch but I > >> can't find anything about refs. > >> > >> -- > >> 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 > > -- > 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
