g_string question
- From: Ronald Roth <rroth uiuc edu>
- To: GTK App Devel List <gtk-app-devel-list gnome org>
- Subject: g_string question
- Date: 19 Feb 2003 18:58:27 -0600
Hello,
I have a call in program to g_string_new_new(strptr, len). My question
is: Does this create a new GString and then copy len bytes from strptr,
or does it just create a new GString struct an assign the "str" pointer
to point to strptr? If it is the former, is there some way to do the
latter? I am dealing with rather large strings in my program, and I
believe that my program might be experiencing a significant slowdown
because of all the copying that may be occuring.
Thanks
--
Ronald Roth <rroth uiuc edu>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]