<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,7 +32,7 @@ module God
     
     def base_name
       x = 1 # fix for MRI's local scope optimization bug DO NOT REMOVE!
-      self.class.name.split('::').last
+      @base_name ||= self.class.name.split('::').last
     end
     
     def friendly_name
@@ -54,4 +54,4 @@ module God
     end
   end
   
-end
\ No newline at end of file
+end</diff>
      <filename>lib/god/configurable.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,9 +2,17 @@ module God
   module System
   
     class Process
+      def self.fetch_system_poller
+        @@poller ||= if SlashProcPoller.usable?
+		       SlashProcPoller
+		     else
+		       PortablePoller
+		     end
+      end
+
       def initialize(pid)
         @pid = pid.to_i
-        @poller = fetch_system_poller.new(@pid)
+        @poller = self.class.fetch_system_poller.new(@pid)
       end
       
       # Return true if this process is running, false otherwise
@@ -39,4 +47,4 @@ module God
     end
   
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/god/system/process.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2c1dee714f8cbcda7c79bbeb1e63b1226f459ffe</id>
    </parent>
  </parents>
  <author>
    <name>Eric Lindvall</name>
    <email>eric@5stops.com</email>
  </author>
  <url>http://github.com/mojombo/god/commit/b1caa7a6b96597f64ccaa43d7180fdcb6b765c77</url>
  <id>b1caa7a6b96597f64ccaa43d7180fdcb6b765c77</id>
  <committed-date>2009-10-25T20:34:31-07:00</committed-date>
  <authored-date>2009-10-25T20:34:31-07:00</authored-date>
  <message>Cache some frequent lookups to reduce object creation.</message>
  <tree>38b7e0a6e941b6d1d4bc69e8b340177f6f5c0df0</tree>
  <committer>
    <name>Eric Lindvall</name>
    <email>eric@5stops.com</email>
  </committer>
</commit>
