Skip to content

Use larger ID space to ensure there are no collisions. #14

Description

@hermannloose

Currently block signatures within a module just count upwards from zero, with functions signatures doing the same. Once entry blocks use the signature of their enclosing function—no bug filed yet—it could become clumsy to devise a scheme for still keeping the IDs sufficiently separate to catch most control flow errors. Hence random IDs.

Using the facilities provided in <random> is probably good enough, otherwise one could look into UUIDs, where speed might or might not be an issue.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions