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

Reduce amount of data allocated in static fields #4

Open
markhenrick opened this issue Dec 8, 2020 · 0 comments
Open

Reduce amount of data allocated in static fields #4

markhenrick opened this issue Dec 8, 2020 · 0 comments
Labels

Comments

@markhenrick
Copy link
Owner

The current approach would probably make sense for a real application, but in this context it just leads to a spike in memory usage at test suite init, that is used a few times then never freed. This also hides the runtime of important work

Proposed solution: Make each day a class, and use instance fields, except perhaps for primitive and string constants

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

No branches or pull requests

1 participant