Switch branches/tags
Nothing to show
Commits on Apr 9, 2012
Commits on Apr 5, 2012
  1. Add manual redirection

    committed Apr 5, 2012
  2. Merge pull request #1 from qmx/docs

    converting to markdown so the links are clickable
    committed Apr 5, 2012
  3. List implementations

    committed Apr 5, 2012
Commits on Apr 2, 2012
  1. Do warmup 10 seconds for JIT

    committed Apr 2, 2012
Commits on Mar 29, 2012
  1. Update benchmark suite

    Measure elapsed time at inside of execute()
    Split without array size
    committed Mar 29, 2012
  2. Add RBTree#empty? to avoid EMPTY reference

    It needs for delete anyway (see lib/red_black_tree.rb in avl_tree gem.)
    and it avoids indirect indy binding with the current JRuby.
    committed Mar 29, 2012
Commits on Mar 28, 2012
  1. Perf optimization for the tiny benchmark suite

    Use IO#gets instead of File#each_line to get the method linked directly.
    IO#gets is already optimized about frame handling so indy can link
    committed Mar 28, 2012
  2. Add sample input (10000 rows)

    jruby -Ilib bench/bench.rb resource/010000.csv
    committed Mar 28, 2012
  3. Update benchmark script

    committed Mar 28, 2012
  4. Adopt Left leaning RBTree

    I was unaware that LL RBTree is faster in addition to it's simpler.  See
    more detail at
    Trees are rebalanced in 'left leaning' manner after insert so you don't
    see '-' as results of dump_sexp (See updated test expectations.)
    Thanks Gaku Nakamura-san for letting me know this by implementing Scala
    version of RBTreeMap!
    committed Mar 28, 2012
Commits on Mar 27, 2012
  1. Update benchmark script

    Show elapsed time of the last execution.
    committed Mar 27, 2012
  2. Make :color=, :right= and :left= be public

    Who can understand 'protected methods' of Ruby in 5 minutes? :)
    committed Mar 27, 2012
  3. Make EmptyTree as a subclass of RBTree

    Reduce method definition duplication.  It improves the performance in
    addition to simplify the code for explanation.
    committed Mar 27, 2012
  4. Do loop for retrieval

    No need to do recursive call.  Perf becomes slightly better.
    committed Mar 27, 2012
  5. Make rebalance code simpler

    For perf and readability.  Introduced RBTree#need_rebalance? and removed
    unnecesarry conditions to be checked for rebalance after insert.
    committed Mar 27, 2012
Commits on Mar 26, 2012
  1. Add benchmark script

    committed Mar 26, 2012
Commits on Mar 25, 2012
  1. Add RBTreeMap#dump_* for debugging

    committed Mar 25, 2012
Commits on Mar 23, 2012
  1. Test update for taking coverage

    committed Mar 23, 2012
  2. Remove unused methods (delete, etc.)

    Not needed for this benchmark.  Use avl_tree instead for actual
    Red-black tree implementation.
    committed Mar 23, 2012
  3. Revert the change to height definition

    Also, remove height() health check from regulation.
    committed Mar 23, 2012
Commits on Mar 19, 2012
  1. Merge RBTreeHash into RBTreeMap

    extract required impl only
    committed Mar 19, 2012
  2. Make put()'s return value undefined

    As the result of discussion in ML.  No need to care for benchmarking.
    Also fixed the bug in height definition.  Height of empty list is 1, not
    committed Mar 19, 2012
Commits on Mar 16, 2012
  1. Initial version RBTreeHash in avl_tree gem

     - optimize
     - make more easier to read
    committed Mar 16, 2012
  2. Add regulation document

    committed Mar 16, 2012