Skip to content Skip to sidebar Skip to footer
Showing posts with the label Optimization

Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

I'm learning V8 internals now. I learned that V8 uses pointer tagging for value storing, but wo… Read more Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

Javascript Multiple Asignment Re-evaluation Or Result Passing?

The multiple assignment (or is it called chaining?) that I'm talking about is assignment such a… Read more Javascript Multiple Asignment Re-evaluation Or Result Passing?

Dealing With Combining Cases & Duplicate Cases In Switch Statements

Is it okay to combine cases that share assignments and repeat the case for assignments that are not… Read more Dealing With Combining Cases & Duplicate Cases In Switch Statements

Shortcut Fusion Optimization In Javascript

I have heard that lodash and other javascript libraries use a technique called 'shortcut fusion… Read more Shortcut Fusion Optimization In Javascript

Javascript: Fast Random Indexing Of Object Keys

I am attempting to randomly select a random property from an object that I use as a dictionary for … Read more Javascript: Fast Random Indexing Of Object Keys

Is It Possible To Direct Which Elements Of A Page Are Painted First By The Browser?

I wanted to know if there was any way to control browser painting, for example I'd like to load… Read more Is It Possible To Direct Which Elements Of A Page Are Painted First By The Browser?

RequestAnimationFrame Garbage Collection

I'm profiling the following code's memory usage using the Timeline in Chrome Dev Tools v27.… Read more RequestAnimationFrame Garbage Collection