Skip to content

Allocation reduction pass #1040

@JakeWharton

Description

@JakeWharton

Just a reminder to do our normal allocation-reduction pass over every module for free performance wins, even if minute.

  • Switch loops to be indexed when we can trust the source of the list to be random access.
  • Replace multi-step collection manipulation with traditional loops.
  • Reduce/eliminate points of value class or JVM primitive boxing, if possible

etc.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions