https://bugzilla.wikimedia.org/show_bug.cgi?id=30130

--- Comment #13 from Brion Vibber <[email protected]> 2011-08-02 12:02:04 UTC 
---
Hmmm... that seems to work by replacing the *entire text* of the input area.
Won't this be fairly inefficient for interactive typing on article-sized
textareas?

A quick test copy-pasting about 170k worth of text from Sanskrit Wikipedia into
the textarea on your test page confirms that it's vvvveeeerrrrryyyyy
sssslllloooowwww to type in in Chrome 12. In Firefox 5.0.1 it's not as slow but
causes lots of visual artifacts -- flicker as the text redraws, and the
scrolling jumps around.

I suspect that's why this code was replaced with the $.textSelection() calls in
the first place...


Actually the current code is still pretty slow in Chrome 12 with a large input
text -- not sure if it's the replacement or if it's something else like the
regexes.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to