update build tools
optimizations
doc fixes
fix documentation
lazily spawn threads as needed – no longer pre-allocates possibly unused threads
no longer required to specify the number of threads (pass 0 to the second
argument of compute
).
minor optimization to the main algorithm
better errors and error handling
single-threaded compute() now checks exceptions
compute(:root, :threads => 3) option deprecated; use compute(:root, 3)
Driver#define returns created node
Raise CompTree::ArgumentError for nonexistent node or threads < 1
fix manual install
fix documentation
replace standard Queue class
check for number of threads < 1
new benchmarks indicate previous algorithm was faster after all
rename README to README.rdoc for github display
internal cleanup
remove fork and discard_result options
remove contrib/
remove block arg to CompTree.new; use CompTree.build
remove CompTree::Error nesting
Driver#compute accepts integer as second option
remove method_missing and eval tricks for node definitions; new project 'pure' makes this obsolete
split up tests
allow non-symbols for node IDs
check_circular now returns the loop instead of raising
allow computation result of nil
internal project cleanup (no relevant code changes).
Initial release.