The last nit-pick might be that calling continuesMostRecentEditOperation here will result again in
thisOpType = getOpType(thisOp), lastEditOp = recentEditOps[recentEditOps.length - 1] and hisOpType === getOpType(lastEditOp) which all have been done here already.
But could be dealt with in the upcoming performance PR you were talking about.