Break the self-reference between parser and preprocessor, so they can be counting...
authorPlatonides <platonides@users.mediawiki.org>
Sun, 20 Feb 2011 00:27:01 +0000 (00:27 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 20 Feb 2011 00:27:01 +0000 (00:27 +0000)
Saved a couple of Mb in the destructive make (126.25Mb -> 124.25Mb).

tests/phpunit/includes/parser/NewParserTest.php

index b69cd77..b337bee 100644 (file)
@@ -436,6 +436,7 @@ class NewParserTest extends MediaWikiTestCase {
                                                                $out = '';
                                                        }
                                                }
+                                               $parser->mPreprocessor = null;
                        
                                                $result = $this->tidy( $result );
                                        }