Thursday, 22 May, 2003

Why is FrontPage search slow?

Why is the search function in FrontPage so slow?  As I write it, this document is 90 kilobytes in length.  Searching for the non-word "xyzzy" from the start of the document to the end takes approximately  takes approximately 8 seconds on my 700 MHz Pentium III.  Granted, this isn't the fastest machine in the world, but TextPad returns "not found" instantly, as does FrontPage when in HTML mode.  It's only when in Normal (i.e. WYSIWYG) mode that it takes so long to tell me that the word isn't in the document.  The reason, I'm sure, is that the HTML parsing code is less than optimal.  The funny thing is that if I load the same document into Internet Explorer and search for the word, it too returns instantly.

Maybe I should upgrade my copy of FrontPage.  Or find a different program with which to write this diary.