Re: Pango Performance (was: Re: --gtk-unbuffered)
- From: Hans Breuer <hans breuer org>
- To: egger suse de, gtk-devel-list gnome org
- Subject: Re: Pango Performance (was: Re: --gtk-unbuffered)
- Date: Fri, 02 Mar 2001 01:11:23 +0100
At 20:51 01.03.01 +0100, egger suse de wrote:
>On 1 Mar, Tor Lillqvist wrote:
>
>> > + return (1 == has_glyph);
>
>> It would be preferrable if all of Pango used the same coding style
>> conventions. While I certainly understand the rationale for this style
>> of writing equality tests, it is nonetheless not used in any of the
>> other code, which can be confusing. Or what do others think?
>
> Just curious: Whats the rationale for this "strange way to code"?
>
Experience :-) The compiler will obviously catch the problem of an
assignment, where a comparsion was intended. I even can't see a violation
of GNU/Pango coding styles with it, but have learned, that it is never a
good idea to contribute a patch hacked after a whole day of work with a
totally differnt coding style ...
Will look into the other suggestions when time and brain permits ...
Hans
>--
>
>Servus,
> Daniel
>
>
>_______________________________________________
>gtk-devel-list mailing list
>gtk-devel-list gnome org
>http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]