Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 14:07:28 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Pawel Jakub Dawidek <nick@garage.freebsd.pl>, Mooneer Salem <mooneer@translator.cx>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Optimizations.
Message-ID:  <200305151407.28717.wes@softweyr.com>
In-Reply-To: <20030515151945.GQ45118@garage.freebsd.pl>
References:  <20030515123033.GP45118@garage.freebsd.pl> <FHEMJMOKKMJDGKFOHHEPEEILGLAA.mooneer@translator.cx> <20030515151945.GQ45118@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 May 2003 08:19, Pawel Jakub Dawidek wrote:
> On Thu, May 15, 2003 at 07:01:44AM -0700, Mooneer Salem wrote:
> +> Interesting. Wouldn't some optimizations only produce negliable
> results +> though (in relation to the
> +> amount of mess created in the code), especially since PC
> technology has come +> a long way?
>
> Exactly! This is todays point of view. No! Not everything could be
> optimize by compiler and I'm not saying that algorythms optimization
> isn't important - it is of course much more important than code
> optimization and I'm talking about it to, but micro optimization is
> needed as well.
>
> Messy code? Why? People skilled in optimization know which parts of
> code should be really optimized and which aren't important from
> performance point of view at all (code profiling?). Good optimized
> code shouldn't be ugly, ehh.

People skilled in optimization know to profile the code and find what is 
slowing real, actual applications down before attempting to profile 
anything.  You can't imagine how uninterested any FreeBSD developer is 
in optimizing getuid() so it will out-perform Linux on some completely 
braindead benchmark.  Show me an application that is getuid() 
performance bound and I'll show you an application that is so poorly 
written as to be meaningless.

You obviously feel passionate about this issue.  Why don't you pursue it 
yourself?  Are you looking for a few good programmers to join you, or 
perhaps someone to tutor you?  If so, say it up front, and I'll just 
bet somebody will step forward to help out.

-- 
         "Where am I, and what am I doing in this handbasket?"

Wes Peters                                              wes@softweyr.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305151407.28717.wes>