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

Make location handling more memory efficient #31

Merged
merged 1 commit into from Jun 2, 2019
Merged

Make location handling more memory efficient #31

merged 1 commit into from Jun 2, 2019

Commits on Apr 29, 2019

  1. Make location handling more memory efficient

    The vast majority of getLocation/setLocation calls in Maven
    are done with the key being equal to the corresponding field's name.
    Instead of using a LinkedHashMap (the worst data structure for memory
    and speed), we now remember those in dedicated fields for fast access.
    
    This greatly reduces the size of the Maven model for large builds,
    as location tracking is responsible for the majority of memory usage.
    oehme committed Apr 29, 2019
    Copy the full SHA
    bf1d3bf View commit details
    Browse the repository at this point in the history