r82500 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82499‎ | r82500 | r82501 >
Date:00:27, 20 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Break the self-reference between parser and preprocessor, so they can be counting collected.
Saved a couple of Mb in the destructive make (126.25Mb -> 124.25Mb).
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php
@@ -436,6 +436,7 @@
437437 $out = '';
438438 }
439439 }
 440+ $parser->mPreprocessor = null;
440441
441442 $result = $this->tidy( $result );
442443 }

Status & tagging log