News for hackers. Stuff that matters.
Re:Something Secret This Way Comes by llogiq on Sunday April 24, 2016 @05:39AM (#11559109)
By the way, I recently tried to get rid of some `vec!`s in the benchmarksgame entries (well, to see if I could), but got into trouble with IntoIterator implementations, so an extension of EscapeAnalysis would be great!
Re:Something Secret This Way Comes by Manishearth on Sunday April 24, 2016 @07:49AM (#11559369)
I suspect that the escape analysis lint will never be as powerful as a human looking in a reasonably small region of code to remove specific allocations, so it wouldn't be able to help here. Probably. Its power is in that it can find unnecessary allocations in a large codebase.