Fix allocation bug in setsketch (aligned_alloc requires argument 2 be divisible by argument 1).
This also allows for --setsketch-ab/--fastcmp-nibbles/--fastcmp-bytes/--fastcmp-shorts to be used in --parse-by-seq mode.
This sacrifices the ability to tune the setsketch parameters to the data, but it can reduce peak memory requirements/total size available substantially.
This pull request introduces 1 alert when merging dfb11368eb1560dbd420586c6904cdc5f5495057 into f422525ac464ef516d6890926bd176fff6abbab5 - view on LGTM.com
new alerts:
1 for Multiplication result converted to larger type
Fix allocation bug in setsketch (aligned_alloc requires argument 2 be divisible by argument 1).
This also allows for --setsketch-ab/--fastcmp-nibbles/--fastcmp-bytes/--fastcmp-shorts to be used in
--parse-by-seq
mode.This sacrifices the ability to tune the setsketch parameters to the data, but it can reduce peak memory requirements/total size available substantially.