Skip to content

Measure impact of changing ZeroVecError to start at 1 #2801

Open
@sffc

Description

@sffc

@kupiakos found that making error enums start at 1 can help code size:

https://twitter.com/kupiakos/status/1587506293996036097

We have a lot of cases of Result<(), ZeroVecError> throughout the code base. We should try to apply this optimization to ZeroVecError and measure the impact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-performanceArea: Performance (CPU, Memory)C-metaComponent: Relating to ICU4X as a wholeS-smallSize: One afternoon (small bug fix or enhancement)T-enhancementType: Nice-to-have but not requiredgood first issueGood for newcomershelp wantedIssue needs an assignee

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions