Skip to content

smallvec performance issues on common store operations #1748

@teh-cmc

Description

@teh-cmc

See #1747 for detailed benchmarks.

The obvious solution seems to be to simply switch to tinyvec which:

  • doesn't exhibit the same issues
  • doesn't have any unsafe code
  • has more features

The only downside is the Default requirement: for those cases where Default is not an option, a vanilla Vec seems like the best bet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions