Hi Andy,

You can also just hook into GTSpotter. It already provides the
infrastructure for handling parallel search and lets you focus only on
specifying the search logic.

Cheers,
Doru



On Tue, Dec 23, 2014 at 1:20 PM, Andy Burnett <
andy.burn...@knowinnovation.com> wrote:

>
> Stef wrote
> <<
>
> You see this is what the color higlighting is doing.
> You type and in parallel it is trying to colorize the text.
> After I'm not sure that you need agents running all the time (reacting
> to each characters you type).
> I would be you I would
>   - prototype a hierarchy of classes whose instances have a kind of
> patterns to know if they should be kick in
>   - at the end of each line, I would send the line to a list of such
> "agent" and react
>
> - then only then, I would consider to fork the behavior of the agents.
> why? because when you can avoid concurrency this is simpler :)
>
> >>
>
> Thanks, that sounds like a very good way forward. I will go and try to
> understand the highlighting code.
>
> Cheers
> Andy
>



-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to