<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ module RBench
   class Summary
     attr_reader :name, :runner, :cells, :items
     attr_accessor :lines
-    
+
     def initialize(runner, group, name)
       @runner = runner
       @group  = group
@@ -10,13 +10,12 @@ module RBench
       @cells  = {}     # A hash with keys as columns, and values being the result
       @items  = []
     end
-    
+
     def run
       # maybe add convenience-method to group to. group == runner really.
       items = (@group ? @group.items &amp; @runner.reports : @runner.reports)
-      
-      rows = items.map{|item| item.cells.values_at(*@runner.columns.map{|c|c.name}) }
-      rows = rows.pop.zip(*rows)
+
+      rows = items.map{|item| item.cells.values_at(*@runner.columns.map{|c|c.name}) }.transpose  
 
       @runner.columns.each_with_index do |c,i|
         if c.compare
@@ -33,10 +32,10 @@ module RBench
           @cells[c.name] = rows[i].compact.select{|r| r.kind_of?(Numeric)}.inject(0){|tot,v| tot += v.to_f }
         end
       end
-      
+
       puts to_s
     end
-    
+
     def to_s
       out = &quot;&quot;
       out &lt;&lt; @runner.separator(nil,&quot;=&quot;) + @runner.newline unless @group</diff>
      <filename>lib/rbench/summary.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a1c88474920fdf3bf9b3629fc3973de6e1166364</id>
    </parent>
  </parents>
  <author>
    <name>somebee</name>
    <email>sindre@identu.no</email>
  </author>
  <url>http://github.com/somebee/rbench/commit/eb131040780155fabf99d650d67260e340672f3d</url>
  <id>eb131040780155fabf99d650d67260e340672f3d</id>
  <committed-date>2008-06-17T04:15:42-07:00</committed-date>
  <authored-date>2008-06-17T04:15:42-07:00</authored-date>
  <message>using transpose instead of some clunky zip-action</message>
  <tree>5b12e0e23a7f700d5f72dc0e946921ad938a0435</tree>
  <committer>
    <name>somebee</name>
    <email>sindre@identu.no</email>
  </committer>
</commit>
