Hacker News new | ask | show | jobs
by glasser 4732 days ago
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