Skip to content

Reduce uuid usage #4612

Open
Open
@bjorn3

Description

@bjorn3

The fast majority of the cases only need a locally unique id and not a universally unique id as they are never serialized or imported. Using a counter in those cases would likely be faster than generating a random number. It may also allow reducing the size from 128bit to 64bit. There are a couple of user facing uuid's like type uuid's that actually need to be universally unique. For them we should keep using uuid's or consider switching to random 128bit integers that are not necessarily valid uuid's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-Code-QualityA section of code that is hard to understand or changeC-DependenciesA change to the crates that Bevy depends on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions