Use Judy1 on 64-bit Systems for Deduplication
Author: zakirdCreated Apr 16, 2024Updated Jan 19, 2025
Labelsgood first issue
Cachehash uses JudyHS on the backend for our deduplication. We originally used this because we wanted ZMap to remain usable on 32-bit systems. However, given that deduplication maps to have be fairly large empirically (>1M items), it would be helpful to use Judy1 when we are on a 64-bit system to save memory. This will require having a bitmap-style cachehash library that uses J1 on the backend.
Source: zmap/zmap