Skip to content

ABI: implement exact core structural equality #230

Description

@chrisbbreuer

Parent: #229

Goal

Implement the shared pinned structural comparison engine plus:

  • JSC__JSValue__deepEquals
  • JSC__JSValue__strictDeepEquals

Acceptance

  • Pairwise cycle detection with exact alias/cycle-shape matching and bounded-stack failure.
  • SameValue primitive handling and ordinary enumerable string/Symbol property traversal.
  • Strict versus non-strict prototype, missing/undefined, sparse-hole, and property-count distinctions.
  • Exact Array, ordinary/class/null-prototype object, boxed primitive, function, Date, RegExp, Error/cause, Map, Set, ArrayBuffer, DataView, and numeric TypedArray behavior.
  • Detached/shared buffers and non-strict numeric versus strict bitwise float comparison.
  • Getter/proxy exceptions, same-VM siblings, foreign rejection, OOM cleanup, and first-wins pending exceptions.
  • Focused matrices, fixture/inventory wiring, batched audits, README/docs evidence, small commits on origin/main.

Activity

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions