Skip to content

Pool vectors for photons to improve performance #304

Description

@jbphet

While working on phet-io state, @zepumph suggested that photon movement and state setting might be more efficient if we use pooling for the vectors.

There are apparently some good examples in Projectile Motion, search for Vector2.pool.create( to see them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions