OEFastFPDatabaseMemoryTypeΒΆ

This namespace contains memory type constants representing how fingerprints are stored and searched for in an OEFastFPDatabase object.

See also

Default

The default memory type is OEFastFPDatabaseMemoryType::MemoryMapped.

InMemory

When an OEFastFPDatabase is initialized with OEFastFPDatabaseMemoryType::InMemory type the fingerprints are pre-loaded into memory and the similarity search performed in-memory when calling the OEFastFPDatabase::GetSortedScores method.

Hint

OEFastFPDatabaseMemoryType::InMemory presents the fastest search at the expense of load time and the search is limited by the size of the memory.

MemoryMapped

When an OEFastFPDatabase is initialized with OEFastFPDatabaseMemoryType::MemoryMapped type there is no load time penalty or memory limitation but the search itself is slower.

See also