Make _integrateInsertionHelper iterative (avoid max callstack issues) and use native Array.indexOf in indexOfCharWithId in the hope that it's faster than searching manually
Make _integrateInsertionHelper iterative (avoid max callstack issues) and use native Array.indexOf in indexOfCharWithId in the hope that it's faster than searching manually

ryankaplan/woot-collaborative-editor,ryankaplan/woot-collaborative-editor,ryankaplan/woot-collaborative-editor