On Thu, Oct 11, 2007 at 02:51:31AM +0400, Oleg Pronin wrote:
> If your project is heavy loaded then i think the best way is to write:
> <form action="/myapp/[%object.id%]/update">
> or (easy to change):
> <form action="[%object.update_url%]">
> in Object:
> sub update_url {'/myapp/'.shift->id.'/update}
> 
> because Catalyst.uri_for() still takes to much CPU to call it a hundred
> times per page.

It's a -lot- faster in the latest release. Are you sure this is still the
bottleneck you think it is?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to