Skip to content
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

Replace lru cache size magic number of 128 with a module level constant #1345

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

aaronayres35
Copy link
Contributor

This PR simply uses a module level constant for the cache size as discussed here: #1344 (comment)

It was originally meant to be in #1344, but I forgot to push the change before merging.

Checklist
- [ ] Tests
- [ ] Update API reference (docs/source/traits_api_reference)
- [ ] Update User manual (docs/source/traits_user_manual)
- [ ] Update type annotation hints in traits-stubs

@aaronayres35 aaronayres35 requested a review from kitchoi November 11, 2020 17:17
Copy link
Contributor

@kitchoi kitchoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aaronayres35 aaronayres35 merged commit c9650a7 into master Nov 11, 2020
@aaronayres35 aaronayres35 deleted the add-cache-size-constant branch November 11, 2020 17:33
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