Skip to content

Commit

Permalink
Normative: Add resizable ArrayBuffer and growable SharedArrayBuffer
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
syg committed Sep 15, 2023
1 parent 9abd594 commit 311b76b
Showing 1 changed file with 869 additions and 188 deletions.
Loading

0 comments on commit 311b76b

Please sign in to comment.