Re: Drawing speed
- From: Havoc Pennington <hp redhat com>
- To: Gregory Leblanc <gleblanc cu-portland edu>
- Cc: gnome-list gnome org
- Subject: Re: Drawing speed
- Date: 21 Jan 2000 23:55:47 -0500
Gregory Leblanc <gleblanc@cu-portland.edu> writes:
> Unless you pass better flags to the compiler or use a better compiler
> than they did. I'd imagine that Sun's compiler could make better code
> then gcc SPARC in some cases. Of course this won't always yeild faster
> executables, but it can be worth a shot. I don't know enough about GTK
> to guess at the kind of difference it could make.
I would predict that most user-visible speed issues are caused by I/O,
context switching, shared library loading, and other in-the-kernel
in-the-OS stuff like that. Still some compiler might give you 5% or
10% real user-visible improvement.
Note that I don't think gcc options can really give you this; the
default is -O2 for a reason, because O2 is nice and solid and the
other options rarely give you big gains and may even cause slowdowns
and instability. Some of them might give you a slight improvement but
I would basically consider it a waste of time to fool with it.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]