--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
I wouldn't be so quick to say that back2dos :) we've hit a lot of issues before at work trying to convince GC in firefox/chrome for JS and similar issues in the past with Flash that when you have a really heavy app using 100's mb up even towards a gb of ram, even if you're object pooling almost everything, you still get serious GC slow downs and have issues with things not being garbage collected over time even when you 'do' set every single reference to them to null. However, in general, setting things to null for many GC's simply makes it's job a little easier, and it's slowdowns more predictable. Certainly the flash runtime used (may still) have issues with object graphs being too large leading to the GC simply 'giving up' on trying to collect the graph even if it 'is' disconnected at the root.
--
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
The better way to help the gc is to null out big variables early as you don't need them.
And usually yes, allocation,cache awareness and fragmentation being non linear problems, having a good mem policy will always profit.