[Catalyst] Alternatives to Catalyst ?

Larry Leszczynski larryl at emailplus.org
Wed Apr 21 17:27:56 GMT 2010


On Wed, 21 Apr 2010 20:30 +0400, "Oleg Pronin" <syber.rus at gmail.com>
wrote:
> 
> 1) Getting all params 3x faster than only one
> 2) Getting $req->{parameters}{lang} 150x faster than $req->param('lang')

What a surprise: accessing the hash directly is faster than calling a
function that accesses the hash.  Plus, the docs state that
$req->param() is considered a legacy interface to provide CGI.pm
compatibility, and if you look at the source it's obvious it has to do
extra work to make it work like CGI.pm.  If you don't need that, don't
use it.




More information about the Catalyst mailing list