This breaking long arrays into smaller parts is important,
without it code like https://github.com/ajaxorg/ace/blob/master/lib/ace/background_tokenizer.js#L187 will be broken.