Skip to content

[ML] Switch to using global memory constants #1620

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 2 commits into from
Dec 9, 2020

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented Dec 9, 2020

We have global constants for memory in KB, MB, etc, but we were not reliably using them. This is a small tidy up to migrate to using them consistently. Since this is a refactor I don't think it needs documentation and I'm marking as a non-issue.

Copy link
Contributor

@valeriy42 valeriy42 left a comment

Choose a reason for hiding this comment

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

LGTM

@tveasey tveasey merged commit 77564dd into elastic:master Dec 9, 2020
@tveasey tveasey deleted the use-memory-constants branch December 9, 2020 18:21
tveasey added a commit to tveasey/ml-cpp-1 that referenced this pull request Dec 9, 2020
We have global constants for memory in KB, MB, etc, but we were not reliably using them. This is a small tidy up to
migrate to using them consistently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants