timethese($ARGV[0]||-1, { hash => sub { $foo->set_name("x");return $foo->get_name }, array => sub { $bar->set_name("x");return $bar->get_name }, });