Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-09 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: I would be very happy if you could review my code. One thing I like about your code is that it makes the code of clients of ParagraphList a lot more readable. One place where this isn't the case is in undo.C where code like

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-09 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > One thing I like about your code is that it makes the code of clients of > > ParagraphList a lot more readable. One place where this isn't the case is in > > undo.C where code like this suggests that you haven't yet hit on the perfect > >

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-09 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >> +{ > >> + bool result=true; > >> + for (size_t i=start; i > > > bool result = true; > > for (size_t i = start; i < end; ++i) > > > > People are picky here ;-} > > That picky? Even pickier. A good idiom to follow in for

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-09 Thread Angus Leeming
Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > I'll go into non-grumpy-mode after 1.4.0 is released (and when I have > this subversion thing up and going) > At least I will do my best to. That'd be a shame. I quite enjoyed grumpy. Angus

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-08 Thread Helge Hafting
Jean-Marc Lasgouttes wrote: This is what I was about to suggest: currently, every time a paragraph is created/killed, the whole document after it is duplicated. For images, this means a lot of work. In particular, I think a pixmap is created in the X server, which means a lot of data to

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-08 Thread Jean-Marc Lasgouttes
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge Assuming this isn't going to hold up the release, I created bug Helge 2287 with this information for future reference. Thanks.

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-08 Thread Helge Hafting
Jean-Marc Lasgouttes wrote: This is what I was about to suggest: currently, every time a paragraph is created/killed, the whole document after it is duplicated. For images, this means a lot of work. In particular, I think a pixmap is created in the X server, which means a lot of data to

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-08 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> Assuming this isn't going to hold up the release, I created bug Helge> 2287 with this information for future reference. Thanks.

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-07 Thread Andre Poenitz
On Mon, Feb 06, 2006 at 09:59:42AM +0100, Jean-Marc Lasgouttes wrote: Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tested the userguide, no problems there. Further testing Helge shows that it is related to images. I have some high resolution Helge images - of course I expect

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-07 Thread Andre Poenitz
On Mon, Feb 06, 2006 at 09:59:42AM +0100, Jean-Marc Lasgouttes wrote: > > "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: > > Helge> I tested the userguide, no problems there. Further testing > Helge> shows that it is related to images. I have some high resolution > Helge> images - of

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Helge Hafting
Martin Vermeer wrote: On Fri, Feb 03, 2006 at 04:02:41PM +0100, Helge Hafting wrote: There is a strange performance problem when displaying a lyx that is running on another machine. (ADSL connection) How fast is your ADSL? And is it the same both ways (A = Asymmetric)? It is a

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Jean-Marc Lasgouttes
Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tested the userguide, no problems there. Further testing Helge shows that it is related to images. I have some high resolution Helge images - of course I expect those to be slow. But the slowness Helge happen even in cases where images

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Martin Vermeer
On Mon, 2006-02-06 at 09:59 +0100, Jean-Marc Lasgouttes wrote: Helge == Helge Hafting [EMAIL PROTECTED] writes: Helge I tested the userguide, no problems there. Further testing Helge shows that it is related to images. I have some high resolution Helge images - of course I expect those to

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Helge Hafting
Martin Vermeer wrote: On Fri, Feb 03, 2006 at 04:02:41PM +0100, Helge Hafting wrote: There is a strange performance problem when displaying a lyx that is running on another machine. (ADSL connection) How fast is your ADSL? And is it the same both ways (A = Asymmetric)? It is a

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> I tested the userguide, no problems there. Further testing Helge> shows that it is related to images. I have some high resolution Helge> images - of course I expect those to be slow. But the slowness Helge> happen even in cases

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-06 Thread Martin Vermeer
On Mon, 2006-02-06 at 09:59 +0100, Jean-Marc Lasgouttes wrote: > > "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: > > Helge> I tested the userguide, no problems there. Further testing > Helge> shows that it is related to images. I have some high resolution > Helge> images - of course I

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-04 Thread Martin Vermeer
On Fri, Feb 03, 2006 at 04:02:41PM +0100, Helge Hafting wrote: There is a strange performance problem when displaying a lyx that is running on another machine. (ADSL connection) How fast is your ADSL? And is it the same both ways (A = Asymmetric)? I have a 256/256 kb ADSL (which thus != A) and

Re: 1.4cvs performance problem over network when adding a paragraph

2006-02-04 Thread Martin Vermeer
On Fri, Feb 03, 2006 at 04:02:41PM +0100, Helge Hafting wrote: > There is a strange performance problem when displaying a lyx that is > running on another machine. (ADSL connection) How fast is your ADSL? And is it the same both ways (A = Asymmetric)? I have a 256/256 kb ADSL (which thus != A)

1.4cvs performance problem over network when adding a paragraph

2006-02-03 Thread Helge Hafting
There is a strange performance problem when displaying a lyx that is running on another machine. (ADSL connection) Most editing operations are fine (writing text, deleting, scrolling) there is no bandwith problem. But press enter so that a new paragraph is created. This operation takes 6

1.4cvs performance problem over network when adding a paragraph

2006-02-03 Thread Helge Hafting
There is a strange performance problem when displaying a lyx that is running on another machine. (ADSL connection) Most editing operations are fine (writing text, deleting, scrolling) there is no bandwith problem. But press enter so that a new paragraph is created. This operation takes 6

<    1   2