On Sunday 15 April 2012 23:12:18 Steve McIntyre wrote:
> Ah, I see there's a similar bug already (with a patch) in
>
> http://moinmo.in/MoinMoinBugs/GetSubscribersSlow
>
> which adds a cache.

I suppose that a cache would perform just as well as a more sophisticated 
approach, given that one would effectively be storing the same correspondence 
of page to subscriber list in the cache. I think that the patch to user.py is 
perhaps less than desirable, though, given that an event handler could 
probably do the same work handling UserCreatedEvent and SubscribedToPageEvent 
instances. Then again, if you're already patching Page.py, patching another 
core module probably isn't too disruptive.

Paul

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to