Skip to content Skip to sidebar Skip to footer
Showing posts with the label Garbage Collection

Do Local Variables Inside Of A Loop Get Garbage Collected?

I'm wondering if it is more efficient to place any vars referenced within a loop, outside of th… Read more Do Local Variables Inside Of A Loop Get Garbage Collected?

Which Modern Browsers Use Mark And Sweep Algorithm For Garbage Collection?

While going through garbage collection, I came across Reference Counting and Mark & Sweep GC Al… Read more Which Modern Browsers Use Mark And Sweep Algorithm For Garbage Collection?

Over How Much Of Its Enclosing Scope Does A (javascript) Closure Close?

When I have some function that uses variables from its enclosing scope(s) and use that function out… Read more Over How Much Of Its Enclosing Scope Does A (javascript) Closure Close?

Javascript Nested Function Performance

I have some nested functions such as var freak = function() { var die = function() { ... } … Read more Javascript Nested Function Performance

How Do I Explicitly Release A Javascript Object From Within The Object?

I'm using John Resig's recipe for JavaScript 'classes' and inheritance. I've st… Read more How Do I Explicitly Release A Javascript Object From Within The Object?

How Can I Log What Is Being Garbage Collected In My Javascript Code?

I've built an application that wastes 40% of its time collecting garbage, and I'm at my wit… Read more How Can I Log What Is Being Garbage Collected In My Javascript Code?

Are Stores Created In The Initcomponent Function Memory Leaks Once The Component Is Destroyed Or Will These Stores Be Garbage Collected?

This is a question that surged from this other one: Best practice to have the same view and store m… Read more Are Stores Created In The Initcomponent Function Memory Leaks Once The Component Is Destroyed Or Will These Stores Be Garbage Collected?

PhoneGap Garbage Collection

I had a long discussion with my friend about PhoneGap. He said that PhoneGap has no garbage collect… Read more PhoneGap Garbage Collection