Browse Source

Missed another call (2.0 seconds -> 1.5 seconds for 1,000,000 chars).

tags/v0.1
Ben Kurtovic 12 years ago
parent
commit
aec66b0db7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mwparserfromhell/parser/tokenizer.py

+ 1
- 1
mwparserfromhell/parser/tokenizer.py View File

@@ -183,7 +183,7 @@ class Tokenizer(object):
while True: while True:
this = self._read() this = self._read()
if this not in self.SENTINELS: if this not in self.SENTINELS:
self._write(self._read(), text=True)
self._write(this, text=True)
self._head += 1 self._head += 1
continue continue
if this is self.END: if this is self.END:


Loading…
Cancel
Save