• Sergei Golubchik's avatar
    misc changes · 0fa882cb
    Sergei Golubchik authored
    * sysvars should be REQUIRED_ARG
    * fix a mix of US and UK spelling (use US)
    * use consistent naming
    * work if VEC_DISTANCE arguments are in the swapped order (const, col)
    * work if VEC_DISTANCE argument is NULL/invalid or wrong length
    * abort INSERT if the value is invalid or wrong length
    * store the "number of neighbors" in a blob in endianness-independent way
    * use field->store(longlong, bool) not field->store(double)
    * a lot more error checking everywhere
    * cleanup after errors
    * simplify calling conventions, remove reinterpret_cast's
    * todo/XXX comments
    * whitespaces
    * use float consistently
    
    memory management is still totally PoC quality
    
    Initial HNSW implementation
    0fa882cb
item_vectorfunc.h 2.15 KB