Index: modules/block/block.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.module,v
retrieving revision 1.396
diff -u -p -r1.396 block.module
--- modules/block/block.module	10 Nov 2009 17:27:53 -0000	1.396
+++ modules/block/block.module	11 Nov 2009 04:11:46 -0000
@@ -576,18 +576,19 @@ function block_theme_initialize($theme) 
  *   array key instead of <i>module</i>_<i>delta</i>.
  */
 function block_list($region) {
-  $blocks = &drupal_static(__FUNCTION__, array());
+  $blocks = &drupal_static(__FUNCTION__);
 
-  if (empty($blocks)) {
+  if (!isset($blocks)) {
     $blocks = _block_load_blocks();
   }
 
-  // Create an empty array if there were no entries.
+  // Create an empty array if there are no entries.
   if (!isset($blocks[$region])) {
     $blocks[$region] = array();
   }
-
-  $blocks[$region] = _block_render_blocks($blocks[$region]);
+  else {
+    $blocks[$region] = _block_render_blocks($blocks[$region]);
+  }
 
   return $blocks[$region];
 }
Index: modules/dashboard/dashboard.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/dashboard/dashboard.module,v
retrieving revision 1.4
diff -u -p -r1.4 dashboard.module
--- modules/dashboard/dashboard.module	23 Oct 2009 22:24:12 -0000	1.4
+++ modules/dashboard/dashboard.module	11 Nov 2009 04:11:46 -0000
@@ -208,8 +208,12 @@ function dashboard_admin($launch_customi
  * Returns TRUE if the user is currently viewing the dashboard.
  */
 function dashboard_is_visible() {
-  $menu_item = menu_get_item();
-  return isset($menu_item['page_callback']) && $menu_item['page_callback'] == 'dashboard_admin';
+  static $is_visible;
+  if (!isset($is_visible)) {
+    $menu_item = menu_get_item();
+    $is_visible = isset($menu_item['page_callback']) && $menu_item['page_callback'] == 'dashboard_admin';
+  }
+  return $is_visible;
 }
 
 /**
@@ -225,7 +229,11 @@ function dashboard_region_descriptions()
  * Return an array of dashboard region names.
  */
 function dashboard_regions() {
-  return array_keys(dashboard_region_descriptions());
+  static $regions;
+  if (!isset($regions)) {
+    $regions = array_keys(dashboard_region_descriptions());
+  }
+  return $regions;
 }
 
 /**
@@ -233,7 +241,7 @@ function dashboard_regions() {
  */
 function dashboard_dashboard_regions() {
   return array(
-    'dashboard_main' =>  'Dashboard main',
+    'dashboard_main' => 'Dashboard main',
     'dashboard_sidebar' => 'Dashboard sidebar',
   );
 }
