This helps extend the size ceiling on documents in the editor temporarily by memoizing the function which contains the majority of the expensive calls. Since it's called in 2-3 separate occasions this improves performance enough to be workable again.
I'm currently stress-testing it to ensure there aren't situations where stale values may get used, but that shouldn't be possible so long as all doc changes flow through CMs change pipeline.
Slightly longer term, the right solution to this problem is either incremental parsing or dropping the text mapping phase and exchange something less expensive to compute.
Merge branch 'master' of github.com:/witheve/eve
Remove extraneous margin (was for comment bar hackery)
hotfix to mitigate the damage caused by expensive operations in Edito…