[Gimp-developer] $HOME
Daniel Hornung
daniel.hornung at gmx.de
Sat Feb 16 08:42:06 PST 2008
On Saturday 16 February 2008, Klaus Ethgen wrote:
> I see no point how to make it more simple. 3 lines vs. one line is not
> that more complexity.
Every dev would have to remember 3 lines instead of only one.
> Sure, can be done. And might be more abstract. But in that case please
> define the stuff inline else the overhead for the function call would be
> to high.
I doubt that there'd be any measurable difference, considering
a) nowadays' compilers,
b) the amount that function would be called (not within loops, constant times,
at startup or at maybe by a user action) and
c) the time the access to some environment variable (or even /etc/passwd)
needs.
If it works, the patch is accepted and anyone notices that it is speed
critical, _then_ is the time for optimizing.
BTW, have you proposed this to the GLIB team/list already?
Greetings, Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-developer/attachments/20080216/ff8f6564/attachment.bin
More information about the Gimp-developer
mailing list