Comment on A surprising JavaScript memory leak found at MeteorComments−glasserOP13yLooks like Go optimizes this fully, as pointed out by https://twitter.com/nynexrepublic/status/350717895971586049If you run these on your own machine and peek at the RSIZE, it stays constant (well, the first grows slowly due to `logIt`).http://play.golang.org/p/A5Pz-3kthP http://play.golang.org/p/RnXr_jB5Qh
Comments
Looks like Go optimizes this fully, as pointed out by https://twitter.com/nynexrepublic/status/350717895971586049
If you run these on your own machine and peek at the RSIZE, it stays constant (well, the first grows slowly due to `logIt`).
http://play.golang.org/p/A5Pz-3kthP http://play.golang.org/p/RnXr_jB5Qh