8000 Change implementation of the LruCache and Node to use generic keys by davenport1 · Pull Request #4 · CacheConnections/CacheLab · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Change implementation of the LruCache and Node to use generic keys #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

davenport1
Copy link
Contributor

Changes the current string key implementation to the generic type TKey.

Curiously, the benchmarks show an improvement in performance, however there are no benchmarks or tests using any type other than a string as the key. Future testing and benchmarks are planned using other value types and now reference types as keys in the cache.

Reference the CacheLab/benchmarks/results directory for benchmark results

@davenport1 davenport1 merged commit 0a7f821 into main Jan 28, 2025
1 check passed
@davenport1 davenport1 deleted the generic-keys branch January 28, 2025 06:47
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
0