On Apr 21, 2010, at 1:27 PM, "Larry Leszczynski"
<lar...@emailplus.org> wrote:
On Wed, 21 Apr 2010 20:30 +0400, "Oleg Pronin" <syber....@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
Exactly what I was thinking, does this really come as a surprise to
any perl dev? It seems on par with wondering why a tight loop that
recompiles RE performs slower than precompiled...
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/