Subject: | consider making text() return a reference |
In Parse::MediaWikiDump the text() method on a page returned a reference
to the text. I didn't make any calculations, but maybe returning a
reference to the text saves memory and time. It will also make porting
existing code from Parse::MediaWikiDump to MediaWiki::DumpFile easier.
Or maybe you can implement a text_ref() method that returns a reference,
in addition to the current text() method.