return immediately when no changing
Merge pull request #5483 from minggo/node-optimize

return immediately when no changing