Short description
I'd like to speed up page save operations that involve sending an email to users watching/subscribed to the page being edited.
The mile-high idea is to take the user-defined regexes for page watch subscriptions out of individual user preferences, and maintain a global list of unique of regexes, with a list of users per regexes.
Then a page save could use the global regex list to figure out which user to notify, rather than pulling iterating over all users' prefs to get a the list.
This feature request will mainly benefit wiki's with a large user base, such as the Fedora wiki.
Implementation
Example implementation for Moin 1.5.8. The implementation also compares the timing between the 1.5.8 code and the suggested replacement.
TODO
- read irc channel logs about other ideas (esp. respective authoritative data storage, caching)
- own unit tests showing it works
- other tests already there not failing (including the pep8 sourcecode test)
- patch for 1.7