<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>src/tests/capi.sh</filename>
    </added>
    <added>
      <filename>src/tests/iter</filename>
    </added>
    <added>
      <filename>src/tests/iter.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 *.o
 *.a
+.tmp*
 core
 vgcore*
 core*</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -49,13 +49,3 @@ def measure_time(c, &amp;block)
 end
 
 compare_speed(2_000_000)
-#test_gdbm(2_000_000)
-
-#$stdout.write &quot;ht shm setting x 20000: &quot;
-#tmeasure (2_000_000) { 
-#  v = $lm2.get(&quot;f&quot;).to_i + 1
-#  #puts &quot;v:#{v}&quot;
-#  $lm2.set(&quot;f&quot;, v) 
-#}
-#puts &quot;foo: #{$lm2.get(&quot;f&quot;)}&quot;
- </diff>
      <filename>src/tests/bench.rb</filename>
    </modified>
    <modified>
      <diff>@@ -53,6 +53,14 @@ describe 'LocalMemCache' do
     ll.random_pair.should.be.nil
   end
 
+  it 'should support iteration' do 
+    s = $lm.size
+    s.should.equal 3
+    c = 0
+    $lm.each_pair {|a,b| c += 1 }
+    s.should.equal c
+  end
+
   it 'should throw an exception when accessing a closed pool' do
     $lm.close
     should.raise(LocalMemCache::MemoryPoolClosed) { $lm.keys }
@@ -87,6 +95,7 @@ describe 'LocalMemCache' do
   end
 
 
+
   it 'should support checking of namespaces' do 
     LocalMemCache.check :namespace =&gt; &quot;test&quot;
   end</diff>
      <filename>src/tests/lmc.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>86136a123d33e4492b067e14ec213d48d0ba3cc4</id>
    </parent>
  </parents>
  <author>
    <name>Sven C. Koehler</name>
    <email>schween@snafu.de</email>
  </author>
  <url>http://github.com/sck/localmemcache/commit/e204f64afdd8dea9b51398119f588b5d8046f725</url>
  <id>e204f64afdd8dea9b51398119f588b5d8046f725</id>
  <committed-date>2009-09-25T06:09:25-07:00</committed-date>
  <authored-date>2009-09-25T06:09:25-07:00</authored-date>
  <message>Integrating Paul Mineiro's improvements.</message>
  <tree>d6cd963a862ce5c0ac2835056b731cde17f97fa1</tree>
  <committer>
    <name>Sven C. Koehler</name>
    <email>schween@snafu.de</email>
  </committer>
</commit>
