Commit Graph

8 Commits (master)

Author SHA1 Message Date
Joey Hess ab2cc5040c close 2008-10-02 17:52:20 -04:00
joey a1a4589e1e close enough.. 2006-11-26 19:44:54 +00:00
joey c4e8a8c62f update 2006-10-28 05:10:13 +00:00
joey db3b72c482 instead of over and over. Typical speedup is ~4x. Max possible speedup:
8x.
* Add "scan" parameter to hook(), which is used to make the hook be called
  during the scanning pass, as well as the render pass. The meta and tag
  plugins need to use the new scan parameter, so will any others that modify
  %links.
* Now that links are calculated in a separate pass, it can also 
  precalculate backlinks in one pass, which is O(N^2) instead of the
  previous code that was O(N^3). A very nice speedup for wikis with lots
  (thousands) of pages.
2006-10-28 05:07:56 +00:00
joey 49bf877701 * Add a separate pass to find page links, and only render each page once,
instead of over and over. This is up to 8 times faster than before!
  (This could have introduced some subtle bugs, so it needs to be tested
  extensively.)
2006-10-28 03:27:10 +00:00
joey 9adb841c92 thoughts on some future stuff 2006-08-18 04:12:29 +00:00
joey b2bd444f31 * Allow discussion links on pages to be turned off with --no-discussion. 2006-05-05 18:20:52 +00:00
joey 48f63526a2 add 2006-03-24 04:04:37 +00:00