opensubscriber
   Find in this group all groups
 
Unknown more information…

p : pspp-dev@gnu.org 26 April 2012 • 12:35PM -0400

Re: var_to_string
by Ben Pfaff

REPLY TO AUTHOR
 
REPLY TO GROUP




John Darrington <john@darr...> writes:

> The attatched patch makes a solution to bug #31566 possible.
>
> It replaces the const char* with a struct string *

I don't like the idea of doing this extra allocation, copying,
and deallocation if we can avoid it.  I think that we can avoid
it.

One way, for example, would be to add a new var_* function that
returns the variable name and label together, keeping the string
cached as part of the struct variable.

_______________________________________________
pspp-dev mailing list
pspp-dev@gnu....
https://lists.gnu.org/mailman/listinfo/pspp-dev

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.