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

Use lazy val instead of zero arg defs #78

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

mdedetrich
Copy link
Contributor

This will avoid unnecessary recomputation since lazy val's will cache the value after first evaluation

@mdedetrich mdedetrich force-pushed the use-lazy-val-for-zero-arg-defs branch from 15344d9 to 4956018 Compare January 22, 2024 23:10
@mdedetrich mdedetrich changed the title Use lazy val for zero arg defs Use lazy val instead of zero arg defs Jan 22, 2024
@mkurz
Copy link
Member

mkurz commented Jan 22, 2024

Conflict.

@mdedetrich
Copy link
Contributor Author

Conflict.

IIl fix now

@mdedetrich mdedetrich force-pushed the use-lazy-val-for-zero-arg-defs branch from 4956018 to e4d4a86 Compare January 22, 2024 23:15
@mdedetrich
Copy link
Contributor Author

@mkurz Conflict fixed

@mkurz mkurz merged commit e42e2c8 into sbt:main Jan 22, 2024
14 checks passed
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