Skip to content

Bullet class is too big #7

Description

@bluebear94

Currently, the tdr::Bullet class is 88 bytes large. Probably large enough to drag down performance.

88byte

Possibilities include:

  • Splitting Bullet into separate structures, such that the BulletList class has multiple arrays (similar to the "structure-of-arrays" layout. This will complicate methods that return bullet handles.
  • Having Bullet store less info; cutting whatever isn't critical

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