On Fri, Mar 09, 2007 at 07:52:56AM +0000, Carl Franks wrote: > This has been really bugging me, but I haven't had the time to look > into it further. > > A URI object is a blessed string. > A blessed uri-escaped string! > So any method that changes a uri, or extracts info from it must be > having to parse the string each time. And I'm sure there must be a lot > unescaping/escaping going on. > > The only thing that's optimised for is printing!
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. -- 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/