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

Expose Milli.milli to let Zinc be more efficient #291

Merged
merged 2 commits into from
Apr 6, 2020

Conversation

retronym
Copy link
Member

@retronym retronym commented Apr 5, 2020

It can avoid the allocation of the Path => File conversion
and also save extra calls to readAttribute when we are using
JavaMillis.

It can avoid the allocation of the `Path` => `File` conversion
and also save extra calls to `readAttribute` when we are using
`JavaMillis`.
@retronym
Copy link
Member Author

retronym commented Apr 5, 2020

@retronym retronym requested a review from eed3si9n April 5, 2020 23:54
  - Avoid boxing of result by specializing
  - Avoid allocations of Left/Right and lambda with an
    imperative implementation
  - Avoid allocations of list of excluded exceptions by caching
    them at call sites.
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