1
coookie
8y

I asked the Node gitter community but didn't get any response, and I fear for my life when I am posting on SO.

So, I would be posting my query here. Any help would be appreciated.

Query:

Hey! So I have a code like

var cached = true;
if(cached){
}else{}

When the v8 will profile and mark this function as hot, will the full compiler optimize it so that the 'if(cached)' is not checked every time?

Comments
Add Comment