piskvorky/bounter

Mimic the Counter interface

Open

#5 opened on Sep 2, 2017

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (46 forks)github user discovery
good first issuehelp wanted

Repository metrics

Stars
 (932 stars)
PR merge metrics
 (PR metrics pending)

Description

Wrap the low-level implementations (min count sketch, hash tables for key iteration...) in a Counter interface. The goal is to make Counter <-> Bounter switch trivial for users.

Methods that cannot be implemented due to algorithmic constraints (key iteration with min count sketch etc) should raise a NotImplementedError with a clear error message.

Contributor guide