fixed FIXMEs

This commit is contained in:
Mark Pilgrim
2009-07-16 22:35:46 -04:00
parent a38bdf34c8
commit f46ffcd063
+1 -1
View File
@@ -366,7 +366,7 @@ rules = LazyRules()</code></pre>
<li>This read-build-and-cache process will continue as long as the rules being read from the pattern file don&#8217;t match the word we&#8217;re trying to pluralize. If we do find a matching rule before the end of the file, we simply use it and stop, with the file still open. The file pointer will stay wherever we stopped reading, waiting for the next <code>readline()</code> command. In the meantime, the cache now has more items in it, and if we start all over again trying to pluralize a new word, each of those items in the cache will be tried before reading the next line from the pattern file.
</ul>
<p>Thus, we have achieved our combined goal [FIXME xref]:
<p>We have achieved pluralization nirvana.
<ol>
<li><strong>Minimal startup cost.</strong> The only thing that happens on <code>import</code> is instantiating a single class and opening a file (but not reading from it).