   replacement.withUnsafeBytes { (bytes: UnsafePointer<UInt8>) in
     let buffer = UnsafeBufferPointer(start: bytes, count: replacement.count)
 
-    for _ in 0..<10000*N {
+    for _ in 1...N {
       var copy = data
       copy.replaceSubrange(range, with: buffer)
     }


@inline(never)
func resetBytes(_ N: Int, in range: Range<Data.Index>, data: Data) {
  for _ in 0..<10000*N {
    var copy = data
    copy.resetBytes(in: range)
  }

@inline(never)
func append(_ N: Int, sequenceLength: Int, to data: Data) {
  let bytes = repeatElement(UInt8(0xA0), count: sequenceLength)
  for _ in 1...N {
    var copy = data
    copy.append(contentsOf: bytes)
  }
