Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-15 Thread Caveat
I can confirm that rev #4278 is *much* faster on gtk+ now. gtk+ now scores about 6 seconds in comparison to qt4's 3 seconds, for my "massively inefficient GUI". Many thanks for the quick turnaround Benoit! Now I just need to decide if I want to stay with my beautiful-looking but poorly-designed

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-15 Thread Ron
On 15-12-2011 5:50, Benoît Minisini wrote: > Le 15/12/2011 03:42, Benoît Minisini a écrit : >> Le 15/12/2011 01:19, Caveat a écrit : >>> Benoit, >>> >>> I decided to test against qt and gtk+ by selecting them manually from >>> the Project Properties, Components. >>> >>> If I select gb.qt4, the '4k

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Benoît Minisini
Le 15/12/2011 03:42, Benoît Minisini a écrit : > Le 15/12/2011 01:19, Caveat a écrit : >> Benoit, >> >> I decided to test against qt and gtk+ by selecting them manually from >> the Project Properties, Components. >> >> If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' >> takes

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Benoît Minisini
Le 15/12/2011 01:19, Caveat a écrit : > Benoit, > > I decided to test against qt and gtk+ by selecting them manually from > the Project Properties, Components. > > If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' > takes less than 1/2 a second. > > With gb.gtk+ (or gb.gui wh

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
> What amazes me is that you see nothing wrong with your design That's untrue, I do see the design as a little unwieldy. And sometimes, poor designs just grow out of what may have been a nice idea at the start... I certainly didn't start out with the intention of having 8000+ controls. You shoul

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread John Spikowski
On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote: > Despite the unhelpful and sarcastic comments of some members (OK, one!) What amazes me is that you see nothing wrong with your design. On a positive note, it's good to have folks pushing Gambas to the limits. ---

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
Benoit, I decided to test against qt and gtk+ by selecting them manually from the Project Properties, Components. If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' takes less than 1/2 a second. With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same '4k GUI'

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
Hi Benoit Pretty sure I'm using gtk. Project has gb.gui selected so afaict it should be selecting gtk (I don't run KDE here). For a 1k card, the program was taking about 6 seconds or so to draw the GUI. For the 4k card, it was taking about 1.5 minutes (that's 15x as long), when I would have exp

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Benoît Minisini
Le 14/12/2011 19:40, Caveat a écrit : > Thanks Benoit, that was the missing piece of the puzzle! > > Now the program is working great! > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > expect it to be quite so slow... > > Thanks again > Caveat Do you use GTK+ or QT? --

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread John Spikowski
On Wed, 2011-12-14 at 19:40 +0100, Caveat wrote: > Thanks Benoit, that was the missing piece of the puzzle! > > Now the program is working great! > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > expect it to be quite so slow... That is like drawing your own fonts beca

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
Thanks Benoit, that was the missing piece of the puzzle! Now the program is working great! I kind of thought 8000+ textboxes was a little overkill, but I didn't expect it to be quite so slow... Thanks again Caveat On Wed, 2011-12-14 at 19:29 +0100, Benoît Minisini wrote: > Le 14/12/2011 15:59,

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Benoît Minisini
Le 14/12/2011 15:59, Caveat a écrit : > Hi, > > I have a program that compares small binary files (either 1k or 4k so > really quite small files!). > > The program builds the GUI based on whether the user has chosen to view > the data from a Mifare 1k card or a Mifare 4k card. > > Problem is that w

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Caveat
But tableview doesn't appear to be editable either... there's no read-only attribute, no editable attribute... so ? On Wed, 2011-12-14 at 18:06 +0100, Fabien Bodard wrote: > 2011/12/14 Caveat : > > Hi, > > > > I have a program that compares small binary files (either 1k or 4k so > > really quite s

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-14 Thread Fabien Bodard
2011/12/14 Caveat : > Hi, > > I have a program that compares small binary files (either 1k or 4k so > really quite small files!). > > The program builds the GUI based on whether the user has chosen to view > the data from a Mifare 1k card or a Mifare 4k card. > > Problem is that when building the v