-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Redis doesn't alloc the string memory until it needs to, whcih means setbit isn't a predictably O(1) operation.
What do you think of doing "setbit key 0" in init_pyrebloom? (iff the key doesn't already exist)
That would be a pretty quick and rare op and then provide o(1) for all later setbits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels