Re: Using GObject library to create a lot of objects



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
GOject ?  Does the GObject really need copy-on-write ?

Well, before you can add copy-on-write to GObject, you have to be able to make a copy of a GObject first, and there's no g_object_new_from_other_g_object function :)

JV



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]