Optimize vector similarity BinData fast path

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Enables compiler auto-vectorization for same-dtype BinData vectors by replacing ConstDataView/LittleEndian reads with memcpy-based float loads and switching INT8 accumulation from double to int32_t.

      Adds a zero-allocation cross-dtype fast path so mixed-dtype BinData comparisons (e.g., FLOAT32 vs INT8) compute directly on raw bytes instead of heap-allocating std::vector<Value>.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: