I think I can easily modify it so as to realise a hierarchically
sequential search
(not a real binary search). Instead of advancing one position, exporting
from
the current position to the end of paragraph, then searching for a
matching segment
*at the start*, I would try to advance one paragraph each time,
exporting the
entire paragraph, searching for any match *inside*, then, if a match is
found,
proceed recursively advancing one position at a time searching for the exact
position that has the match at beginning.
I'll see if I can play a little bit tonight with the idea.
T.
Abdelrazak Younes ha scritto:
Yes that too ;-)
That's also why the binary search is the most practical choice...
Abdel.