News for hackers. Stuff that matters.
Re:Performance These Days by taneq on Thursday April 21, 2016 @09:44PM (#11546536)
I think it's actually the opposite. The important thing is a short response time to the user - whether that's achieved by reducing the number of things you do, or by doing them more efficiently, is kind of moot.
Re:Performance These Days by cbsmith on Thursday May 05, 2016 @05:20AM (#11634778)
Languages don't really dictate response times to the user.
Re:Performance These Days by majewsky on Friday April 22, 2016 @04:41AM (#11547808)
> whether that's achieved by reducing the number of things you do, or by doing them more efficiently

Is there any way to do stuff more efficiently instead of doing less things (i.e. doing it in less steps)? Optimizing is always about trimming out the fat.

Re:Performance These Days by taneq on Friday April 22, 2016 @04:49AM (#11547840)
Depends on what you're defining as "things". In terms of base instructions? No, all you can do is do less things. (Edit: Although even here, you can do different things to make the overall process cheaper - multiply by the inverse instead of dividing, replace a sin() calculation with a lookup, etc.) In terms of intermediate goals? If you have to process 500 objects, you can either find a way to skip some of the objects ('reduce the number of things you do') or you can make processing an object as fast as possible ('doing them more efficiently').
Re:Performance These Days by gp7 on Thursday April 21, 2016 @09:52PM (#11546560)
Battery life.
Re:Performance These Days by taneq on Thursday April 21, 2016 @10:53PM (#11546777)
Definitely a big priority but still a secondary one. Your app won't affect battery life if they've uninstalled because it's laggy.