Skip to content

Traverse discriminant at runtime in jitless environments #961

Closed

Description

@ssalbdivad

Currently we only use the discriminant when precompiling. The results will still be correct in either case but the errors will be less accurate and the checking will be slower than necessary in JITless environments.

Activity

  1. moved this from To do to Backlog in arktypeioon May 22, 2024
  2. ssalbdivad commented on Nov 18, 2026

    @ssalbdivad
    MemberAuthor

    Fixed in 3.0.0-beta.0 (#1728). Try it with npm i arktype@next.

  3. moved this from Backlog to Done (merged or closed) in arktypeioon Nov 18, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done (merged or closed)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions