30 years of quipping "premature optimization is the root of all evil" has left the industry in a terrible state
-
-
-
The word "premature" can't be stressed enough:https://youtu.be/RT46MpK39rQ?t=9m17s …
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Thinking back, I rarely saw game teams follow this (very good) advice. They waited until the last minute, when the house was on fire, and then pulled optimization-oriented coders in to profile and fix the mess.
-
*Arrives* *Adds -O3 to conpiler options* *Cashes cheque*
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Does your blog have to be
#FFFF00 yellow on dark blue? It's impossible for me to read without tinkering. -
Yes. The colors of http://humus.name are such an important part of graphics programming blogs history that they should just be preserved forever. The theme keep us all connected to both Turbo Pascal and van Gogh's starry night.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
My team must report the profiling values of the features they implement as part of the code review. I find it a good way to make the people more responsible
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
“Don’t do it.” means don’t calculate, store, etc. things that are not needed. A great tip. “Don’t do it yet.” is hinting towards lazy competition.
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
"performance is a feature" <- I like this
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
As someone wise once said, give context to knuth's quote. It would have made a good first argument :"say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.". The important thing is the last part!
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
I just use CSS animations in node-webkit and my app seems fast enough. Nobody minds that Slack takes a gigabyte of RAM; RAM is cheap. And they put those fans in laptops to be used, right? ;-)
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
You might like this other response to that quote by
@mjdominus -https://blog.plover.com/prog/optimization.html …ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
The hard part is having systems making it easy to monitor perf. impacts of codebase changes. Ideally automated, extensive, fast (performant!) systems, providing rapid feedback for iteration. Also including enough info/insight for developers about the perf. profile of the project
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
I have a blog post that says something similar. Basically your architecture needs to be based on the shape and size of your data or your performance will always suffer. http://anthonylloyd.github.io/blog/2018/02/01/architecture-data-first …
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
When I've to write an algorithm in C or C++, I often follow the following routine to meet performance requirements. 1)Solve your problem using multithreading. 2)Design types that can be used together with SIMD (aligning data). 3)Save memory e.g. store a normal vector as 2 bytes.
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Yes. But, if you unpack this recommendation, it becomes "Hire only superb engineers." Coders who obsessively optimise every feature are as dangerous to your project as are the slobs. The trick, IMO, is to stay aware of all your sins, yet at times choose to commit them anyway...
-
I think it's a bit simpler. Basically measure, regress and asses if you can afford that budget. Optimizing without profiling is useless imo.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Great advice - the tweet and the blog. A really good summary that I will share with the developers in my team. Thank you.
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
Sorry but i mighta read that if the website wasnt so badly formatted. Consider square space or something
ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
-
-
@aras_p isn't designing for performance is whatake you stuck with micro optimization?ধন্যবাদ। আপনার সময়রেখাকে আরো ভালো করে তুলতে টুইটার এটিকে ব্যবহার করবে। পূর্বাবস্থায়পূর্বাবস্থায়
-
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।