v1
- by ashtonsix 6/3/202200
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let int32 = new Int32Array(2 ** 20)
let int16 = new Int16Array(int32.buffer)
let int8 = new Int8Array(int32.buffer)
function fill(arr, value) {
  arr[0] = value
  let l = arr.length
  let i = 1
  for (; i < l; i *= 2) {
    arr.copyWithin(i, 0, i)
  }
  i /= 2
  return arr
}
delete caserun single casemove downdrag and drop case


ready



int32.fill(-1)
delete caserun single casemove upmove downdrag and drop case


ready



int16.fill(-1)
delete caserun single casemove upmove downdrag and drop case


ready



int8.fill(-1)
delete caserun single casemove updrag and drop case


ready



fill(int16, 5)
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN