#2150: Find dialog hangs when searching for word not found in a larger text
----------------------+-----------------------------------------------------
Reporter: jonhg | Owner: martinkou
Type: Bug | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6.1
Component: General | Version: SVN
Resolution: | Keywords: Confirmed
----------------------+-----------------------------------------------------
Comment (by martinkou):
I've written a preliminary patch which re-implements the finding logic of
the Find/Replace dialog. Improvements include:
1. A factor-of-ten or greater improvement in searching performance, which
eliminates the freeze up in searching long documents like the GPL 3.0.
Note that while the new implementation would no longer hang scanning the
GPL 3.0, it would still hang if given a much larger document - any
classical search function still has to scan every DOM node and every
character of the document no matter how fast it is, we aren't using
quantum computers/quantum algorithms yet ;).
1. Reduced code size of fck_replace.html, because the new algorithm is
simpler.
--
Ticket URL: <https://dev.fckeditor.net/ticket/2150#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac