toFlags method

int toFlags()

Convert to internal flags.

Implementation

int toFlags() {
  int flags = 0;
  if (debugLogs) {
    flags |= OBXHnswFlags.DebugLogs;
  }
  if (debugLogsDetailed) {
    flags |= OBXHnswFlags.DebugLogsDetailed;
  }
  if (vectorCacheSimdPaddingOff) {
    flags |= OBXHnswFlags.VectorCacheSimdPaddingOff;
  }
  if (reparationLimitCandidates) {
    flags |= OBXHnswFlags.ReparationLimitCandidates;
  }
  return flags;
}