ikiwiki/IkiWiki
Joey Hess 42b3e13739 format moderation queue only at end, avoid O(N^3) bug
It was calling format hooks for each comment on the page.
When relativedate is enabled, that made it insert <script> tags
for each comment. And the browser loaded the same script over and over,
which was slow on its own. But that was nothing compared to running
the onload even over and over.. especially since the hook system
added a new call to the hook each time it loaded.

For a page with 10 comments, that caused the relativedate DOM parsing
code to run 1000 times, I think. Anyway, it was sloow. Now it runs once.
2009-01-25 22:30:28 -05:00
..
Plugin format moderation queue only at end, avoid O(N^3) bug 2009-01-25 22:30:28 -05:00
Setup Avoid feeding decoded unicode to Term::ReadLine 2009-01-18 14:52:49 -05:00
CGI.pm remove deprecated admin prefs 2008-12-24 16:16:03 -05:00
Receive.pm Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
Render.pm Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
Setup.pm Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
UserInfo.pm remove deprecated admin prefs 2008-12-24 16:16:03 -05:00
Wrapper.pm Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00