I have created a new thread for this, see:
https://groups.google.com/forum/?fromgroups=#!topic/nodejs/p7kfwcbJBxE
Den onsdagen den 24:e oktober 2012 kl. 20:15:49 UTC+2 skrev Marco Rogers:
Can you elaborate on domains just feel wrong. I'm interested in how the
domains api comes across. I've
On Thu, Oct 25, 2012 at 1:03 PM, Nathan Rajlich nat...@tootallnate.netwrote:
Rick, is there a template for proposals I should base it off of?
Not really, a gist in markdown will be more then sufficient.
Include a rationale (this is probably the easiest part) and ideally a
summary of your
Also, take a look at these...
http://wiki.ecmascript.org/doku.php?id=strawman:weak_references
http://wiki.ecmascript.org/doku.php?id=strawman:weak_refs
Perhaps there is something that can built on top of, or an aspect you can
prove/disprove?
Rick
On Thu, Oct 25, 2012 at 1:03 PM, Nathan Rajlich
Take it to a different topic if it becomes unrelated also.
On Wednesday, October 24, 2012 1:15:49 PM UTC-5, Marco Rogers wrote:
Can you elaborate on domains just feel wrong. I'm interested in how the
domains api comes across. I've expressed my concerns with it in the past.
:Marco
On
WeakRefs are on the table for ES6... if someone here wants to write up a
proposal (I'm looking at Nate) I will gladly champion it at the next TC39
meeting.
Rick
On Wed, Oct 24, 2012 at 2:55 PM, Bradley Meck bradley.m...@gmail.comwrote:
Take it to a different topic if it becomes unrelated also.
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:
I've only really used it for testing and tracking down memory leaks,
but I know that hook.io has used it as a dependency in the past, and
that dnode does currently. What exactly is your use case?
On Mon, Oct 22, 2012 at 9:52 AM, Diogo Resende drese...@thinkdigital.pt wrote:
You could use ES6
This actually depends on how much are you going to use them.
Few thousands objects are probably ok, but millions will slow down GC
significantly.
Cheers,
Fedor.
On Mon, Oct 22, 2012 at 9:52 PM, Nathan Rajlich nat...@tootallnate.netwrote:
I've only really used it for testing and tracking
Thanks for your responses, all!
I use it too support a simple (C++) RAII functionally, to reclaim
resources, both external and internal resources. I believe it is good idea.
It allows a resource, even if an exception get thrown be reclaimed. I
simply code in mind that a exception can get
On Monday, October 22, 2012 at 5:22 PM, Fredrik O wrote:
PS. How would weak maps be used to call a custom function on garbage
collection?
I think you've misunderstood, WeakMaps don't facilitate this
Rick
What are your thoughts?
Thanks in advance!
--
Job Board:
10 matches
Mail list logo