Skip to content

[improvement]: current CheckMem function assumes vector type to be float array, which can be more precise. #305

Description

@broccoliSpicy

lantern/src/hnsw/utils.c

Lines 81 to 82 in 33e6bcf

// todo:: update sizeof(float) to correct vector size once #19 is merged
node_size = UsearchNodeBytes(&meta, meta.dimensions * sizeof(float), (int)round(mL + 1));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions