SimSIMD icon indicating copy to clipboard operation
SimSIMD copied to clipboard

uint8 type

Open MBkkt opened this issue 8 months ago • 3 comments

not bit

If we have vector of floats with only non-negative (or non-positive) values. It's better to convert it to uint8 instead of int8

Examples under Apache 2.0: https://github.com/google-research/google-research/tree/master/scann/scann/distance_measures/one_to_one https://github.com/ydb-platform/ydb/tree/main/library/cpp/dot_product https://github.com/ydb-platform/ydb/tree/main/library/cpp/l1_distance https://github.com/ydb-platform/ydb/tree/main/library/cpp/l2_distance

MBkkt avatar Jun 10 '24 16:06 MBkkt