dbinfrago / libpax

Apache License 2.0
21 stars 13 forks source link

option to use bitmask as store #2

Closed FlorianLudwig closed 2 years ago

FlorianLudwig commented 3 years ago

if LIBPAX_MAX_SIZE >= 4096 use bitmask instead of hashmap to store seen macs.

This caps ram usage at 8192 bytes.

cyberman54 commented 3 years ago

Implemented: https://github.com/dbSuS/libpax/pull/3