-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make location handling more memory efficient (#31)
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.
- Loading branch information
Showing
1 changed file
with
162 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters