[Catalyst] Performance

Bill Moseley moseley at hank.org
Fri Mar 9 17:41:58 GMT 2007


On Fri, Mar 09, 2007 at 11:34:14AM -0600, Dave Rolsky wrote:
> On Fri, 9 Mar 2007, Bill Moseley wrote:
> 
> >I just checked and on some pages I'm calling uri_for a few hundred
> >times.  If that's a bottle neck then optimization would be most
> >welcome.
> 
> I did some hack-y testing of a (bad) memo-ized version:

Would Memoize work in this case?

The problem isn't calling uri_for with the same arguments over and
over, but with slightly different ones where it still has to parse the
uri string for each one.



-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list