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

Don't process model classes that hasn't changed #1366

Closed
cmelchior opened this issue Aug 7, 2015 · 3 comments
Closed

Don't process model classes that hasn't changed #1366

cmelchior opened this issue Aug 7, 2015 · 3 comments

Comments

@cmelchior
Copy link
Contributor

Currently the annotation processor will analyse and create proxy classes/modules for all model classes each time it is run. This will slow down builds for larger projects.

Instead we should detect if a file has changed since last it was analysed and if it hasn't skip the analysis and creation of the proxy class.

@nhachicha
Copy link
Collaborator

This could be tricky, this is even subtle than incremental build in gradle, we need to watch for concurrent process trying to build the project, keep a persistent map of hashes of the previously proceed files (URI)

Maybe move this to backlog, it's not a P1 ...yet

@cmelchior
Copy link
Contributor Author

Agreeded. It is not that important yet. It is still something we want to look at at some point IMO.

@cmelchior
Copy link
Contributor Author

Merging this into #5906

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants