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 Marshal for the incremental and digest databases #817

Merged
2 commits merged into from May 30, 2018
Merged

Use Marshal for the incremental and digest databases #817

2 commits merged into from May 30, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 28, 2018

It's much faster. On my machine, null builds of the Jane Street workspace go from ~2.7s to ~1.9s.

Signed-off-by: Jeremie Dimino <jdimino@janestreet.com>
@ghost ghost requested a review from rgrinberg May 28, 2018 19:01
Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

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

I can confirm the nice speed up.

val dump : Path.t -> D.t -> unit
val load : Path.t -> D.t option
end

Copy link
Member

Choose a reason for hiding this comment

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

Imo, having this stuff live in its own module is cleaner.

Copy link
Author

Choose a reason for hiding this comment

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

Possibly, and maybe Cached_digest as well. We are just starting to have a lot of files in src/...

@ghost ghost merged commit 171c226 into ocaml:master May 30, 2018
This pull request was closed.
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.

None yet

2 participants