- Complete first round of documentation. - Complete first round of tests and coverage. - Expand the thread benchmarker for testing metasync. - Add enumerators (each_key/each_value/each_pair) using cursors. - Remove keys() implementation in favor of using the emumerable. - Make deserialization more DRY. - Add an efficient length() method. - Add various Hash-alike methods. - General code cleanup for release. FossilOrigin-Name: 0d2bd3995f203c9ac1734ac3da32dd2f09efda9a394e554e6006e44dd07a33b0
16 lines
313 B
Ruby
16 lines
313 B
Ruby
# -*- ruby -*-
|
|
# vim: set nosta noet ts=4 sw=4 ft=ruby:
|
|
# encoding: utf-8
|
|
|
|
$LOAD_PATH.unshift( 'lib' )
|
|
|
|
begin
|
|
require 'mdbx'
|
|
rescue Exception => e
|
|
$stderr.puts "Ack! Libraries failed to load: #{e.message}\n\t" +
|
|
e.backtrace.join( "\n\t" )
|
|
end
|
|
|
|
db = MDBX::Database.open( 'tmp/testdb', max_collections: 100 )
|
|
|
|
|