You could use ES6 WeakMaps.

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/WeakMap
 

-- 
Diogo Resende


On Monday, October 22, 2012 at 17:05 , Fredrik O wrote:

> Hi,
> 
> Does anyone know if it is safe, for performance reasons to heavily use the 
> npm module: "node-weak" and similar libraries? Does it add significant 
> overhead?
> 
> 
> Thanks in advance
> -- 
> 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] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[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

Reply via email to