pspp-dev
[Top][All Lists]
Advanced

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

Re: var_to_string


From: Ben Pfaff
Subject: Re: var_to_string
Date: Wed, 25 Apr 2012 21:35:52 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]