Andre Poenitz wrote:

On Sun, Oct 02, 2005 at 01:26:06PM +0200, Andre' Poenitz wrote:
So we should try hard to pass through the critical path just once.  I'll
send later today a preliminary patch that folds rowBreakPoint() and
setRowWidth(), i.e. reduces this by a factor of two and gives an overall
gain of 8-12% when typing into a single long paragraph of about 1200
chars. I won't be able to take care of this patch after I send it to the
list, so I wouldn't mind if somebody took over.

Promised patch attached.
I  did a simple test, and there is a problem with this patch.
It keeps printing "case 6" all the time to stderr, there is so much printing
of this "error message" that my pc reach 100% load. So performance is quite low, with the patch, because of all the error reporting. I could remove the error message, but I didn't, perhaps it is a real problem,
something that shouldn't happen?

Helge Hafting

Reply via email to