Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Eliminate magic number in LRUCache #268

Open
kushti opened this issue Jun 26, 2018 · 0 comments
Open

Eliminate magic number in LRUCache #268

kushti opened this issue Jun 26, 2018 · 0 comments

Comments

@kushti
Copy link
Contributor

kushti commented Jun 26, 2018

LRUCache contains a magic number constant:

private val cleaningThreshold = 50

Is it reasonable to externalize it into a config?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant