{"push_id":985634965,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"f0b1b08550a631aba9b87feee82fbc84caa40714","before":"735d0bbc4fd597b228d3bc1e9caede5e565b4769","commits":[{"sha":"f0b1b08550a631aba9b87feee82fbc84caa40714","author":{"email":"e19996995266c8ed28ab7ebda5ebecb69b13fd3b@gmail.com","name":"Daniel Santana"},"message":"util: Use of let and const. Optimized array use.\n\nBecause accessing properties is more expensive than accessing variables\nand they will be used in any case I moved the variables declared on lines\n25 and 26 to lines 14 and 15. In this way the code avoids to access the\nsame properties more than once.\n\nThe push method is more expensive than array index attribution.\nSince the new array length is always known, the creation of the array\nwith a predefined length for future positioning attribution is less\nexpensive than using the push method.\n\nBenchmarks added proving that the new approach is in average 2 to 3\ntimes faster than the original one.","distinct":true,"url":"https://api.github.com/repos/danielsan/node/commits/f0b1b08550a631aba9b87feee82fbc84caa40714"}]}