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

[2.4] Memory improvements #362

Merged
merged 4 commits into from
May 7, 2024
Merged

Commits on Mar 27, 2024

  1. Reduce allocations when creating immutable array-backed lists

    This commit replaces `Collections.unmodifiableList(Arrays.asList(array))`
    with `new ImmutableArrayList<>(array)`, where `ImmutableArrayList` is
    a simple implementation of an immutable array-backed list. This reduces
    the number of allocations from 2 to 1 on many places in the code.
    
    Additionally, this commit slightly improves javadoc of some methods
    in the `AnnotationInstance` class.
    Ladicek committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    f42f4a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a416c4 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    d5c37e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    737a202 View commit details
    Browse the repository at this point in the history