Tag Archives: browser engine optimization

Garbage Collector and performance

Try to aviod “delete” Be aware of that browsers engines tries to optimize “hot” objects (heavly used), and using delete you are descreasing performace. var obj = {foo : 1}; delete obj.foo; Think about the scope Instead of nulling global variables, just use a function-local variables that goes out of scope when it’s no longer… Read More »