[llvm-commits] [llvm] r74514 - /llvm/trunk/docs/CodingStandards.html
Chris Lattner
sabre at nondot.org
Mon Jun 29 23:27:55 PDT 2009
Author: lattner
Date: Tue Jun 30 01:27:54 2009
New Revision: 74514
URL: http://llvm.org/viewvc/llvm-project?rev=74514&view=rev
Log:
got confused again
Modified:
llvm/trunk/docs/CodingStandards.html
Modified: llvm/trunk/docs/CodingStandards.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.html?rev=74514&r1=74513&r2=74514&view=diff
==============================================================================
--- llvm/trunk/docs/CodingStandards.html (original)
+++ llvm/trunk/docs/CodingStandards.html Tue Jun 30 01:27:54 2009
@@ -709,7 +709,7 @@
loads every time through the loop. However, if the base expression is more
complex, then the cost can rise quickly. I've seen loops where the end
expression was actually something like: "<tt>SomeMap[x]->end()</tt>" and map
-lookups really aren't cheap. By writing it in the first form consistently, you
+lookups really aren't cheap. By writing it in the second form consistently, you
eliminate the issue entirely and don't even have to think about it.</p>
<p>The second (even bigger) issue is that writing the loop in the first form
More information about the llvm-commits
mailing list