about summary refs log tree commit homepage
path: root/test
DateCommit message (Collapse)
2018-04-29test/test_tdb_mt.rb: fix fragile test
Method#inspect has changed in modern Ruby, so try to make test less fragile.
2014-10-03tdb/mt: fix tests under Ruby 1.8
This will probably be the last release we make under Ruby 1.8
2014-02-09test_tdb_mt: do not barf on unwrapped :initialize
Not sure if it's an rbx implementation difference or not, but initialize is obviously wrapped and probably(?) private depending on the version/implemntation of Ruby...
2014-02-09add siphash24
It's the preferred hash function nowadays by Ruby itself, so it probably makes sense to add it
2011-11-19raise ArgumentError if null bytes exist in file path
We don't want path names silently truncated when passed to the C API.
2011-08-22add murmur3f (x86_64 128 bit truncated to 32-bits)
This is faster for larger keys on x86_64
2011-08-18test_tdb_hash_functions: add distribution tests
Just in case something was horribly wrong in my C++ -> C ports.
2011-08-18add murmur3a hash
It should be slightly faster than murmur2
2011-08-18add fork test
Just in case...
2011-01-17multithreaded TDB is dangerous, discourage it
Lets just avoid threads for now :) The torture test still fails and there doesn't appear to be a good way to fix it without upstream supporting it.
2011-01-17fetch and delete may be passed destination buffer
This allows apps to reduce GC thrashing by reusing a string buffer.
2011-01-17test_tdb: fix and expand the repack test
We can't repack an in-memory DB, only files
2010-12-10mt: longer test
Just in case it wasn't long enough to expose any issues or crash the system.
2010-12-10mt: just break when attempting TDB methods inside #each
Too tricky to support, for now.
2010-12-10add a new TDB::HashFunctions module
It's nice to have common hash functions available...
2010-12-04add support for "clear" and "repack" methods
TDB#clear maps to tdb_wipe_all and TDB#repack maps to TDB#repack.
2010-12-03add optional thread-safety on a per-object basis
Thread-safety is useful sometimes and needless overhead otherwise. Default to whatever TDB upstream defaults to.
2010-12-02RDoc updates
We still need a lot of work in this area, but this is better than nothing.
2010-12-01initial