diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-14 01:11:53 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-14 01:11:53 -0400 |
commit | 82bb3af579db809b884c7be5f49012469902bf52 (patch) | |
tree | fb0074bc0ce0bf1831846b1bc75b6323c5bc152d /t | |
parent | f486271009142ec7e04e1a62c1e94ad9e51b6d39 (diff) |
optimise brokenlinks by gathering the data when calculating backlinks
During backlink calulation, all links are examined and broken links can
be detected for free, so store a list of broken links and have brokenlinks
use it.
Exposing the %brokenlinks structure is a bit ugly, but the speedup seems
worth it: Around 1 second for wikis the size of the doc wiki that use
brokenlinks.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions