message: Limit intial call to 100 paragraphs
diff: @@ -8,6 +8,8 @@ export class ParagrapgSlicer extends EventEmitter {
  private currentIdleTime: number = 0;
  private pendingMarkers: IPgMarker[] = new Array<IPgMarker>();
  private tileMap: Map<MergeTree.ReferencePosition, IRange> = new Map<MergeTree.ReferencePosition, IRange>();
  + private initialCallLimit: number = 100;
  + private initialCounter: number = 0;
  constructor(private sharedString: SharedString) {
  super();
  @@ -16,6 +18,7 @@ export class ParagrapgSlicer extends EventEmitter {
  // Slice and emit initial paragraphs of the document.
  public run() {
  const emitSlice = (startPG: number, endPG: number, text: string) => {
  + if (++this.initialCounter < this.initialCallLimit) {
  const range: IRange = {
  begin: startPG,
  end: endPG,
  @@ -24,6 +27,7 @@ export class ParagrapgSlicer extends EventEmitter {
  range,
  text,
  });
  + }
  };
  let prevPG: MergeTree.Marker;
  let startPGPos = 0;
  