<commit_before>var AbcStream = (function () {
  function abcStream(bytes) {
    this.bytes = bytes;
    this.view = new DataView(bytes.buffer, bytes.byteOffset);
    this.pos = 0;
  }

  var resultBuffer = new Int32Array(256);

  abcStream.prototype = {
    get position() {
      return this.pos;
    },
    remaining: function () {
      return this.bytes.length - this.pos;
    },
    seek: function(pos) {
      this.pos = pos;
    },
    readU8: function() {
      return this.bytes[this.pos++];
    },
    readU8s: function(count) {
      var b = this.bytes.subarray(this.pos, this.pos + count);
      this.pos += count;<commit_msg>Try not to hang on to the stream's underlying array buffer so that the original abc file buffer can be GCed.<commit_after>var AbcStream = (function () {
  function abcStream(bytes) {
    this.bytes = bytes;
    this.view = new DataView(bytes.buffer, bytes.byteOffset);
    this.pos = 0;
  }

  var resultBuffer = new Int32Array(256);

  abcStream.prototype = {
    get position() {
      return this.pos;
    },
    remaining: function () {
      return this.bytes.length - this.pos;
    },
    seek: function(pos) {
      this.pos = pos;
    },
    readU8: function() {
      return this.bytes[this.pos++];
    },
    readU8s: function(count) {
      var b = new Uint8Array(count);
      b.set(this.bytes.subarray(this.pos, this.pos + count), 0);
      this.pos += count;
{'fraction_non_alphanumeric': 0.13546099290780142, 'fraction_numerical': 0.01276595744680851, 'mean_word_length': 2.563131313131313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '763968', 'n_tokens_mistral': 473, 'n_tokens_neox': 462, 'n_words': 110}