Tags:
create new tag
view all tags
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 | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-02-16 - MartinCleaver
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.