Subject: POW: speed up bulk spell checking
From: Ben Mesman (b.mesman@snow.nl)
Date: Mon Aug 27 2001 - 04:30:57 CDT
This is my first post on abi-devel. My employer is allowing me to
spend some time on opensource (free software) projects. I would like
to help out on AbiWord.
To get a feel of things, I had a look at the POW 2001/9
(http://www.abisource.com/mailinglists/abiword-dev/01/March/0478.html)
"Speed up bulk spell checking". On GTK platforms the direction of a
solution is clear, the specifics may depend on the solution for other
platforms.
The solution (on GTK platforms): In stead of using the timer
functions, the idle functions can be used. Putting the spellchecking
in the idlequeue (gtk_idle_add) will speed up the background spell
checking of a document of 25 pages from around 2 minutes to 1 second
(on an Athlon 650MHz, no exact measurement).
The questions:
1. Where do I implement this? Should there be a special class UT_Idle,
or can we modify the UT_Timer to handle both timer-functions and
idle-functions?
2. Who will do the other platforms?
Ben.
-- Ben Mesman Snow b.v. - Unix consultants & OO developers The Amazing Snowmen Produktgroep Open Source
This archive was generated by hypermail 2b25 : Mon Aug 27 2001 - 04:31:16 CDT