Hi,

LT now makes use of multiple threads when checking text. Each of the 
threads checks a part of the rules. The idea behind this is that all 
rules are independent, thus it makes more sense to split the rules than 
the text.

According to my tests this can speed up checking by about 70% on modern 
hardware. It does not speed up program start though.

Technically this is done by a new class MultiThreadedJLanguageTool, 
which extends JLanguageTool but uses as many threads as the computer has 
processors.

Let me know if there are any problems with this.

Regards
  Daniel

-- 
http://www.danielnaber.de

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to