Re: Using GObject library to create a lot of objects

2005-03-06 Thread John Cupitt
Hi, On Sat, 05 Mar 2005 14:38:08 -0300, Fabrício Barros Cabral <[EMAIL PROTECTED]> wrote: > I'm thinking develop an application using the GObject library, but I > have a dilemma: use or not use the GObject library. This application is > object-oriented but will be able to create-use-destroy a lot

Re: Using GObject library to create a lot of objects

2005-03-05 Thread John Vetterli
On Sun, 6 Mar 2005, Falls Huang wrote: If u want to create thousands of GObject and don't modified them at once, I suggest u use some methods which can achieve "copy-on-write" in GObject ( I don't know how to do :( ). btw: Why don't the developers of GObject add copy-on-write function to GO

Re: Using GObject library to create a lot of objects

2005-03-05 Thread Fabrício Barros Cabral
On Sun, 2005-03-06 at 11:30 +0800, Falls Huang wrote: > Hello! Hi! > (sorry for my poor english first) > I took a glance at the src of gobject. It's seemed that the gobject > doesn't have a "copy-on-write" function which QT's share class has. > (http://doc.trolltech.com/4.0/shclass.h

Re: Using GObject library to create a lot of objects

2005-03-05 Thread Falls Huang
Hello! (sorry for my poor english first) I took a glance at the src of gobject. It's seemed that the gobject doesn't have a "copy-on-write" function which QT's share class has. (http://doc.trolltech.com/4.0/shclass.html) If u want to create thousands of GObject and don't mo

Re: Using GObject library to create a lot of objects

2005-03-05 Thread Paul Pogonyshev
FabrÃcio Barros Cabral wrote: > Hi people! > > I'm thinking develop an application using the GObject library, but I > have a dilemma: use or not use the GObject library. This application is > object-oriented but will be able to create-use-destroy a lot of objects > (10.000 or more) during the execu