Skip to content

Excess garbage in Metadata  #2166

Open
Open
@carl-mastrangelo

Description

@carl-mastrangelo

Metadata today is a Hashmap of ArrayLists, and each arraylist has an object array. This creates a lot of garbage since Metadata objects are short lived.

Some ideas on how to improve the situation:

  • Recycle the objects
  • Store headers as a flat array of an initial size, and swap to using a full map if slow. (and avoid Strings when possible)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions