Fix NDEBUG ALWAYS_ASSERT.
Introduce keystring_type, use it in search callbacks.
String::length is preferred to size.
Define PREFETCH_DEFINED.
Remove unreferenced code.
Merge pull request #2 from kohler/master

More cleanups, remove unrefed code, fix some names