From f46ffcd063ec828fe83c2a6cc83795988cbfcc1d Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Thu, 16 Jul 2009 22:35:46 -0400 Subject: [PATCH] fixed FIXMEs --- iterators.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iterators.html b/iterators.html index c76c825..be660c3 100755 --- a/iterators.html +++ b/iterators.html @@ -366,7 +366,7 @@ rules = LazyRules()
  • This read-build-and-cache process will continue as long as the rules being read from the pattern file don’t match the word we’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 readline() 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. -

    Thus, we have achieved our combined goal [FIXME xref]: +

    We have achieved pluralization nirvana.

    1. Minimal startup cost. The only thing that happens on import is instantiating a single class and opening a file (but not reading from it).