Skip to content

Sublist cache uses a random removal algorithm#20

Merged
derekcollison merged 1 commit into
nats-io:masterfrom
reinh:feature/sublist-cache-random-removal-19
Jul 28, 2011
Merged

Sublist cache uses a random removal algorithm#20
derekcollison merged 1 commit into
nats-io:masterfrom
reinh:feature/sublist-cache-random-removal-19

Conversation

@reinh

@reinh reinh commented Jul 27, 2011

Copy link
Copy Markdown

Sublist#match uses #prune_cache (a dead-simple random removal algorithm)
instead of #clear_cache to keep cache size under max.

Sublist#match uses #prune_cache (a dead-simple random removal algorithm)
instead of #clear_cache to keep cache size under max.
@derekcollison

Copy link
Copy Markdown
Member

Thanks.. Looks good, I have not used the cache stuff in awhile..

derekcollison added a commit that referenced this pull request Jul 28, 2011
…l-19

Sublist cache uses a random removal algorithm
@derekcollison derekcollison merged commit 8218bee into nats-io:master Jul 28, 2011
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.

2 participants