You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is about editing math-heavy text in fully-initialized document; see #14 for init performance (though many improvements there would also help here).
cache typeset DOM, reuse if text & token class didn't change.
On a math-heavy 100K doc, speeds up "All math rendered" from 38s to 18s!
#68, cben/CodeMirror-MathJax#14
I was doing early hookMath() and postponing renderAllMath() on the theory
"Queuing this allows text to appear before math."
But doing hookMath() before firepad load already renders all math,
and renderAllMath() does all the work again because there is no caching
(cben/CodeMirror-MathJax#15).
This is about editing math-heavy text in fully-initialized document; see #14 for init performance (though many improvements there would also help here).
.Text(newmath)
http://docs.mathjax.org/en/latest/typeset.html#manipulating-individual-math-elements
.Rerender()
if only token class changed.Could
Hub.Update()
do the job instead a custom caching scheme?!http://docs.mathjax.org/en/latest/api/hub.html#Update
Easy ways to test:
benweet/stackedit#25 has useful info.
The text was updated successfully, but these errors were encountered: