<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/strokedb/data_structures/skiplist.rb</filename>
    </added>
    <added>
      <filename>spec/lib/strokedb/data_structures/skiplist_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-require 'data_structures/simple_skiplist'
+require 'data_structures/skiplist'</diff>
      <filename>lib/strokedb/data_structures.rb</filename>
    </modified>
    <modified>
      <diff>@@ -58,7 +58,7 @@ module StrokeDB
     end
 
     def clear!
-      @container = SimpleSkiplist.new
+      @container = Skiplist.new
     end
 
     def close!</diff>
      <filename>lib/strokedb/stores/memory_storage.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@ module StrokeDB
   class MemoryViewStorage &lt; ViewStorage
     
     def initialize(options = {})
-      @list = SimpleSkiplist.new
+      @list = Skiplist.new
     end
     
     def clear!
-      @list = SimpleSkiplist.new
+      @list = Skiplist.new
     end
     
   end</diff>
      <filename>lib/strokedb/views/memory_view_storage.rb</filename>
    </modified>
    <modified>
      <diff>@@ -85,10 +85,10 @@ module StrokeDB
       end
       
       if File.exists?(@list_path)
-        @list = SimpleSkiplist.load(File.read(@list_path))
+        @list = Skiplist.load(File.read(@list_path))
       else
         info &quot;List file (#{@list_path}) was not found, creating a brand new skiplist.&quot;
-        @list = SimpleSkiplist.new(@params)
+        @list = Skiplist.new(@params)
       end
       
       if File.exists?(@log_path)</diff>
      <filename>lib/strokedb/volumes/skiplist_volume.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,7 +7,7 @@ include Benchmark
 
 @path = File.dirname(__FILE__) + &quot;/../../spec/temp/storages/archive_volume&quot;
 
-SimpleSkiplist.optimize!(:C)
+Skiplist.optimize!(:C)
 
   [2000].each do |n|
 </diff>
      <filename>meta/benchmarks/archive_volume.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ N = 1_000
 #   
 # end
 
-SimpleSkiplist.optimize!(:C)
+Skiplist.optimize!(:C)
 
 # FileUtils.rm_rf &quot;../../spec/temp/storages/bigstore&quot;
 # StrokeDB::Config.build :default =&gt; true, :base_path =&gt; &quot;../../spec/temp/storages/bigstore&quot;</diff>
      <filename>meta/benchmarks/big_database.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,13 +7,13 @@ puts &quot;Serialization techniques&quot;
 
 len = 2_000
 array = (1..len).map{ [rand(len).to_s]*2 }
-biglist = SimpleSkiplist.from_a(array)
+biglist = Skiplist.from_a(array)
 dumped = biglist.marshal_dump
 
 Benchmark.bm(17) do |x|
   # First technique: to_a/from_a
   GC.start
-  x.report(&quot;SimpleSkiplist#to_a          &quot;) do
+  x.report(&quot;Skiplist#to_a          &quot;) do
     biglist.to_a
     biglist.to_a
     biglist.to_a
@@ -21,17 +21,17 @@ Benchmark.bm(17) do |x|
     biglist.to_a
   end
   GC.start
-  x.report(&quot;SimpleSkiplist.from_a        &quot;) do
-    SimpleSkiplist.from_a(array)
-    SimpleSkiplist.from_a(array)
-    SimpleSkiplist.from_a(array)
-    SimpleSkiplist.from_a(array)
-    SimpleSkiplist.from_a(array)
+  x.report(&quot;Skiplist.from_a        &quot;) do
+    Skiplist.from_a(array)
+    Skiplist.from_a(array)
+    Skiplist.from_a(array)
+    Skiplist.from_a(array)
+    Skiplist.from_a(array)
   end
 
   # Another technique: Marshal.dump
   GC.start
-  x.report(&quot;SimpleSkiplist#marshal_dump  &quot;) do
+  x.report(&quot;Skiplist#marshal_dump  &quot;) do
     biglist.marshal_dump
     biglist.marshal_dump
     biglist.marshal_dump
@@ -39,12 +39,12 @@ Benchmark.bm(17) do |x|
     biglist.marshal_dump
   end
   GC.start
-  x.report(&quot;SimpleSkiplist#marshal_load  &quot;) do
-    SimpleSkiplist.allocate.marshal_load(dumped.dup)
-    SimpleSkiplist.allocate.marshal_load(dumped.dup)
-    SimpleSkiplist.allocate.marshal_load(dumped.dup)
-    SimpleSkiplist.allocate.marshal_load(dumped.dup)
-    SimpleSkiplist.allocate.marshal_load(dumped.dup)
+  x.report(&quot;Skiplist#marshal_load  &quot;) do
+    Skiplist.allocate.marshal_load(dumped.dup)
+    Skiplist.allocate.marshal_load(dumped.dup)
+    Skiplist.allocate.marshal_load(dumped.dup)
+    Skiplist.allocate.marshal_load(dumped.dup)
+    Skiplist.allocate.marshal_load(dumped.dup)
   end
 end
 
@@ -53,9 +53,9 @@ puts &quot;Find/insert techniques&quot;
 Benchmark.bm(42) do |x|
   langs = [:C]    if RUBY_PLATFORM !~ /java/
   langs = [:Java] if RUBY_PLATFORM =~ /java/
-  SimpleSkiplist.with_optimizations(langs) do |lang|
+  Skiplist.with_optimizations(langs) do |lang|
     GC.start
-    x.report(&quot;SimpleSkiplist#find 5000 #{lang}&quot;.ljust(32)) do 
+    x.report(&quot;Skiplist#find 5000 #{lang}&quot;.ljust(32)) do 
       1000.times do
         key = rand(len).to_s
         biglist.find(key)
@@ -66,7 +66,7 @@ Benchmark.bm(42) do |x|
       end
     end
     GC.start
-    x.report(&quot;SimpleSkiplist#insert 5000 #{lang}&quot;.ljust(32)) do 
+    x.report(&quot;Skiplist#insert 5000 #{lang}&quot;.ljust(32)) do 
       1000.times do
         key = rand(len).to_s
         biglist.insert(key, key)</diff>
      <filename>meta/benchmarks/simple_skiplist.rb</filename>
    </modified>
    <modified>
      <diff>@@ -38,7 +38,7 @@ end
 
 benchmark!(&quot;Ruby&quot;)
 
-SimpleSkiplist.optimize!(:C)
+Skiplist.optimize!(:C)
 
 benchmark!(&quot;C&quot;)
 </diff>
      <filename>meta/benchmarks/skiplist_volume.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ describe &quot;SkiplistVolume inserts and finds&quot;, :shared =&gt; true do
   end
 end
 
-#SimpleSkiplist.with_optimizations(OPTIMIZATIONS) do |lang|
+#Skiplist.with_optimizations(OPTIMIZATIONS) do |lang|
 lang = &quot;Ruby {FIXME: with_optimizations is irreversible operation for now}&quot;
   describe &quot;Brand new SkiplistVolume [#{lang}]&quot; do
     before(:each) do</diff>
      <filename>spec/lib/strokedb/volumes/skiplist_volume_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/strokedb/data_structures/simple_skiplist.rb</filename>
    </removed>
    <removed>
      <filename>spec/lib/strokedb/data_structures/simple_skiplist_spec.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>ff4c04e1f3e2f65f3984ce9d75166278c1391118</id>
    </parent>
  </parents>
  <author>
    <name>Oleg Andreev</name>
    <email>oleganza@idbns.com</email>
  </author>
  <url>http://github.com/yrashk/strokedb/commit/9785ab9c6245d9c23e95a0a1f04bb8c300984323</url>
  <id>9785ab9c6245d9c23e95a0a1f04bb8c300984323</id>
  <committed-date>2008-06-08T14:05:26-07:00</committed-date>
  <authored-date>2008-06-08T14:05:26-07:00</authored-date>
  <message>renamed SimpleSkiplist to Skiplist</message>
  <tree>bdf4d03182ec4efeb86d64cb1a95ee887eee9256</tree>
  <committer>
    <name>Oleg Andreev</name>
    <email>oleganza@idbns.com</email>
  </committer>
</commit>
