arraysEqual function

dynamic arraysEqual(
  1. dynamic a,
  2. dynamic b,
  3. dynamic offset
)

Implementation

arraysEqual(a, b, offset) {
  for (var i = 0, l = b.length; i < l; i++) {
    if (a[offset + i] != b[i]) return false;
  }

  return true;
}