-
Notifications
You must be signed in to change notification settings - Fork 118
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
Compile incrementally within jars #305
Comments
Note that this won't work on 2.12 as long as scala/bug#10295 isn't fixed. |
@szeiger reminded me that PKZIP as a format supports appending at the end of the file, which means that when compiling |
I would suggest using the Zip File System Provider available within java7 and above, as an initial experement If this is not fast enough and not fixable to be, then I am happy to assist with the lower level APIs, and I have some experience with parallelizing the JAR& ZIP apis within JDK tools, and would be happy to help |
I've heard several Zinc useres telling me this is already supported by Zinc. See scalacenter/bloop#33 for more context. |
This idea was provided by @stuhood in https://contributors.scala-lang.org/t/asking-for-your-feedback-on-sbt-scala-center-announcement/738/19. This is a top priority for me, so I'll work on it within the next months before the release candidate happens. I would not be surprised if it requires API changes.
Feature description in Stu's own words:
There is room for experimenting but the potential speedup seems juicy, especially in big projects. Anything that increases compilation speed should be treated as a priority for Zinc 1.0.
The text was updated successfully, but these errors were encountered: