Hi,
I don't know the exact answer, but:
1) it might take some time to read a long and complicated dictionary
(disk access time + processing, for example Hebrew needs quite a long time)
2) you might instantiate the class at the start of the program, and then
keep the instance for later use. This will definitely work faster than
creating the class.
Regards
Marcin
Paul Welter pisze:
Hi,
I'm writing an interop layer for Hunspell for .net. I'm experiencing really
slow creation of the Hunspell class. It is taking about 2 sec to create
when using the en_US dictionary. Is this how long its suppose to take? Is
there some compiler flags/optimizations that I might be missing that would
speed things up? I'm looking to make the library work in a web environment
and 2 sec creation time really won't work.
On another note, is the Hunspell library thread safe? Could I use a
singleton to process requests?
thanks for the help.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.134 / Virus Database: 270.4.3/1528 - Release Date: 08-07-01 07:26
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]