Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: Add resizable ArrayBuffer and growable SharedArrayBuffer #3116

Merged
merged 1 commit into from
Oct 12, 2023

Commits on Oct 12, 2023

  1. Normative: Add resizable ArrayBuffer and growable SharedArrayBuffer (t…

    …c39#3116)
    
    Major differences from the spec draft:
    
    - The idempotent byte length getter machinery is replaced with
      Integer-Indexed Object With Buffer Witness Record and DataView With
      BufferWitness Record values instead. These records cache the byte
      length ahead of time. Because shared memory events are observable,
      there should only be a single load event of growable SAB byte length
      until the next point where user code may be called.
    
    - IsResizableArrayBuffer is negated and renamed to
      IsFixedLengthArrayBuffer, because it covers both resizable ABs and
      growable SABs.
    syg authored and ljharb committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    a9ae96e View commit details
    Browse the repository at this point in the history