Skip to content

Use value equatable types #816

Closed
Closed

Description

@tautropfli

The cookbook recommends that source generators should pass along value equatable values so that the generator can short-circuit as soon as possible.

Our model (DiscriminatedUnion) currently includes lists without value equality and syntax nodes.
This prevents us from splitting the Emit function in two which would allow short-circuiting at that step.

Activity

  1. changed the title [-]Use value equatable types in[/-] [+]Use value equatable types[/+] on Jan 21, 2025
  2. FreeApophis commented on Sep 24, 2026

    @FreeApophis
    Member

    Closed: see parent item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions