Editing Talk:1691: Optimization

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 5: Line 5:
 
The flow chart has no branches.  It has been optimized, by pruning branches which cannot apply.  Are you consulting a flow chart cannot be answered no while consulting the flow chart, so the entire branch structure resulting from a no answer has been eliminated.  However, there are many other ways in which premature optimization can take place, and there are some optimizations which are not premature, so this is a robust and fruit laden branch.  Since it would be handy to keep that branch in mind, its removal is clearly premature. Therefore, this flowchart has been prematurely optimized.[[Special:Contributions/173.245.56.69|173.245.56.69]] 11:02, 8 June 2016 (UTC)
 
The flow chart has no branches.  It has been optimized, by pruning branches which cannot apply.  Are you consulting a flow chart cannot be answered no while consulting the flow chart, so the entire branch structure resulting from a no answer has been eliminated.  However, there are many other ways in which premature optimization can take place, and there are some optimizations which are not premature, so this is a robust and fruit laden branch.  Since it would be handy to keep that branch in mind, its removal is clearly premature. Therefore, this flowchart has been prematurely optimized.[[Special:Contributions/173.245.56.69|173.245.56.69]] 11:02, 8 June 2016 (UTC)
 
:I guess that as soon as you are spending time on a flow chart on this question you are not using your time to do things right...--[[User:Kynde|Kynde]] ([[User talk:Kynde|talk]]) 11:11, 8 June 2016 (UTC)
 
:I guess that as soon as you are spending time on a flow chart on this question you are not using your time to do things right...--[[User:Kynde|Kynde]] ([[User talk:Kynde|talk]]) 11:11, 8 June 2016 (UTC)
βˆ’
::I agree: It's not "if there is any doubt": It's specifically the flowchart. If you are consulting flowchart, you are either the kind of person who does everything methodically and waste gigantic amount of time by it, especially if trying to optimize, or you lack the experience and common sense needed to distinguish when the optimization is premature, and statistically are more likely to optimize incorrect part of code. But note the that most people, when citing the quote, forgot the "Yet we should not pass up our opportunities in that critical 3%." - and result is editor which have noticeable lag on computer which is capable of running 3D FPS game in 120fps. Worse: some decisions, while related to speed of program and therefore optimization, MUST be done early in planing - for example, what data structures will be used. If you start programming with linear list, it may be impossible to switch to B-tree later ; on the other hand, programming B-tree and then finding out the average length of list is 5 is typical premature optimization ; Therefore, you should either use existing library, which will be quick AND quickly written, or spend some time on writing abstract enough interface, so you don't waste too much time on the B-tree but will have option to put it there later without major refactoring. -- [[User:Hkmaly|Hkmaly]] ([[User talk:Hkmaly|talk]]) 16:25, 20 June 2016 (UTC)
 
  
 
Is this also an implicit reference to https://xkcd.com/1205/ (Is It Worth the Time)?[[User:Dani|Dani]] ([[User talk:Dani|talk]]) 11:44, 8 June 2016 (UTC)
 
Is this also an implicit reference to https://xkcd.com/1205/ (Is It Worth the Time)?[[User:Dani|Dani]] ([[User talk:Dani|talk]]) 11:44, 8 June 2016 (UTC)
  
 
Sigh... One of most misused quotes of all time. The original meaning of "premature optimization" was referring to fine-grained adjustments to assembly that made it much harder to read but a tad faster to run. It's not a justification for choosing a terribly inefficient approach, especially one that will be hard to replace later on. [[Special:Contributions/162.158.91.50|162.158.91.50]] 14:11, 5 October 2021 (UTC)
 
Sigh... One of most misused quotes of all time. The original meaning of "premature optimization" was referring to fine-grained adjustments to assembly that made it much harder to read but a tad faster to run. It's not a justification for choosing a terribly inefficient approach, especially one that will be hard to replace later on. [[Special:Contributions/162.158.91.50|162.158.91.50]] 14:11, 5 October 2021 (UTC)

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)