Mercurial > moin-2.0
changeset 2113:fa85831f8eb8
add a note about link converter slowness
| author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
|---|---|
| date | Fri, 10 May 2013 00:49:19 +0200 |
| parents | 678c1bd96267 |
| children | cb15246ea90e |
| files | MoinMoin/converter/link.py |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/converter/link.py Sun May 05 01:17:57 2013 +0200 +++ b/MoinMoin/converter/link.py Fri May 10 00:49:19 2013 +0200 @@ -169,6 +169,7 @@ path = self.absolute_path(path, page.path) item_name = unicode(path) if not flaskg.storage.has_item(item_name): + # XXX these index accesses slow down the link converter quite a bit elem.set(moin_page.class_, 'moin-nonexistent') else: item_name = unicode(page.path[1:])
