[Libreoffice] [Libreoffice-ux-advise] [PATCH] Word count dialog modeless
Kevin Hunter
hunteke at earlham.edu
Wed Nov 16 10:44:38 PST 2011
At 12:51pm -0500 Wed, 16 Nov 2011, Astron wrote:
> On 15 November 2011 19:15, Michael Meeks wrote:
>> :-) sounds reasonable. My only concern would be to make it
>> discoverable and of course performance: would we take a
>> per-keystroke hit there ? so perhaps having it easy-to-enable but
>> disabled by default would make sense.
>
> How large is the hit? Has anyone measured already? Personally, I
> can't really perceive anything when comparing writing with the Word
> Count window open v/ without it.
It seems to me to be an issue of how one implements the word count
statistics collection. Are the word count statistics constantly kept
up-to-date via a incrementers/decrementers per key-stroke? Or are they
only collected upon request?
From a brief and unscientific test of copying 10MiB of copy and paste
text into a Writer document, waiting while it paginates to 2250 pages,
then timing how long it takes for the Word Count dialog to give results,
it would appear the former: every keystroke /already/ calculates the
these statistics.
Thus, my first un-educated guess is that this should have very little
performance impact.
Cheers,
Kevin
More information about the LibreOffice
mailing list