Fix O(n^2) getLetReferences – 40% faster on large flat files by sophiebits · Pull Request #7028 ·...
this.blockPath.get("body") constructs an array of paths corresponding to each node in blocks.body so takes O(n) time if n is that length. We were re-constructing that array on eac...
github.com