Skip to content

Add support for infinite-size dict#12

Open
LunaticNeko wants to merge 1 commit intomailgun:masterfrom
LunaticNeko:zerosize
Open

Add support for infinite-size dict#12
LunaticNeko wants to merge 1 commit intomailgun:masterfrom
LunaticNeko:zerosize

Conversation

@LunaticNeko
Copy link
Copy Markdown

Presently expiringdict does not support infinite-size dicts, where keys are only deleted after the timer has expired. I added a small condition that allows infinite-size dicts to exist. To allow infinite members, set the size to 0. Theoretically it can be anything, even "None", but I find 0 to be the easiest to introduce right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant