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
[EMAIL PROTECTED]


_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to