rocksdb/port
Sanjay Ghemawat 85584d497e Added bloom filter support.
In particular, we add a new FilterPolicy class.  An instance
of this class can be supplied in Options when opening a
database.  If supplied, the instance is used to generate
summaries of keys (e.g., a bloom filter) which are placed in
sstables.  These summaries are consulted by DB::Get() so we
can avoid reading sstable blocks that are guaranteed to not
contain the key we are looking for.

This change provides one implementation of FilterPolicy
based on bloom filters.

Other changes:
- Updated version number to 1.4.
- Some build tweaks.
- C binding for CompactRange.
- A few more benchmarks: deleteseq, deleterandom, readmissing, seekrandom.
- Minor .gitignore update.
2012-04-17 08:36:46 -07:00
..
win reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
atomic_pointer.h A number of fixes: 2011-10-31 17:22:06 +00:00
port_android.cc A number of fixes: 2011-10-31 17:22:06 +00:00
port_android.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
port_example.h A number of fixes: 2011-10-31 17:22:06 +00:00
port_posix.cc A number of fixes: 2011-10-31 17:22:06 +00:00
port_posix.h add .gitignore; support for building on a few BSD variants 2012-03-05 10:35:46 -08:00
port.h Platform detection during build, plus compatibility patches for machines without <cstdatomic>. 2011-06-29 00:30:50 +00:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.