r5 - 16 Feb 2005 - 14:16:55 - MartinCleaverYou are here: TWiki >  Codev Web > SplitUpTWikiDotPm
Tags:
, create new tag
TWiki.pm is a bit of a monster, 2502 lines of code. Depressingly, it is all compiled when any twiki script is called. Even more depressingly, it doesn't need to be. Much of TWikiDotPm is a bunch of handlers for different %VARIABLES%. Each of these handlers could be housed in it's own module, meaning it would only need to be compiled if that variable was actually used (c.f. autosplit)

Alternatively use autosplit with this module. This would require a build or install step.

This should be a performance improvement.

-- CrawfordCurrie - 13 Feb 2005

I re-ordered the methods in TWiki.pm and added commented-out lines that AutoLoader? would use. If anyone wants to experiment, go ahead.

-- CrawfordCurrie - 16 Feb 2005

I daresay some of TWikiDotPmProposedFurtherModularisation is obsolete now, but that also has some ideas.

-- MartinCleaver - 16 Feb 2005

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo