about summary refs log tree commit homepage
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2014-10-03tdb/mt: fix tests under Ruby 1.8Eric Wong1-0/+4
This will probably be the last release we make under Ruby 1.8
2014-02-09test_tdb_mt: do not barf on unwrapped :initializeEric Wong1-0/+1
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 siphash24Eric Wong1-1/+1
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 pathEric Wong1-0/+4
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)Eric Wong1-1/+1
This is faster for larger keys on x86_64
2011-08-18test_tdb_hash_functions: add distribution testsEric Wong1-0/+30
Just in case something was horribly wrong in my C++ -> C ports.
2011-08-18add murmur3a hashEric Wong1-1/+2
It should be slightly faster than murmur2
2011-08-18add fork testEric Wong1-0/+17
Just in case...
2011-01-17multithreaded TDB is dangerous, discourage itEric Wong1-0/+1
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 bufferEric Wong1-0/+44
This allows apps to reduce GC thrashing by reusing a string buffer.
2011-01-17test_tdb: fix and expand the repack testEric Wong1-2/+12
We can't repack an in-memory DB, only files
2010-12-10mt: longer testEric Wong1-1/+1
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 #eachEric Wong1-9/+14
Too tricky to support, for now.
2010-12-10add a new TDB::HashFunctions moduleEric Wong1-0/+15
It's nice to have common hash functions available...
2010-12-04add support for "clear" and "repack" methodsEric Wong1-0/+14
TDB#clear maps to tdb_wipe_all and TDB#repack maps to TDB#repack.
2010-12-03add optional thread-safety on a per-object basisEric Wong1-0/+85
Thread-safety is useful sometimes and needless overhead otherwise. Default to whatever TDB upstream defaults to.
2010-12-02RDoc updatesEric Wong1-0/+10
We still need a lot of work in this area, but this is better than nothing.
2010-12-01initialEric Wong1-0/+260