Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes
<[EMAIL PROTECTED]> writes:
But all in all, I think counter code, as crude as it may be, is
almost fast enough for our needs.
Abdelrazak> Not on windows. And I really suspect that this is the main
Abdelrazak> cause of our trouble in the math test document.
What do you mean? There is no renumbering going on.
I think updateLabels() is called nevertheless because it does not enter
in one of the particular cases that I implemented (standard and list).
Not sure about that...
I was partly wrong. While disabling these methods definitely helps (with
the attached patch), the csrss.exe problem and the poor typing
performance at the end the doc is still there.
I really wonder why the slowness is only for the paragraph immediately
before or after a big equation...
Abdel.
Index: buffer_funcs.C
===================================================================
--- buffer_funcs.C (revision 15852)
+++ buffer_funcs.C (working copy)
@@ -546,6 +546,7 @@
void updateLabels(Buffer const & buf,
ParIterator & from, ParIterator & to)
{
+ return;
for (ParIterator it = from; it != to; ++it) {
if (it.pit() > it.lastpit())
return;
@@ -560,6 +561,7 @@
void updateLabels(Buffer const & buf,
ParIterator & iter)
{
+ return;
if (updateCurrentLabel(buf, iter))
return;
@@ -569,6 +571,7 @@
void updateLabels(Buffer const & buf)
{
+ return;
// start over the counters
buf.params().getLyXTextClass().counters().reset();