Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2003 19:14:40 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Optimizations. 
Message-ID:  <5634.1053191680@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 16 May 2003 11:46:26 PDT." <20030516184626.GB537@athlon.pn.xcllnt.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030516184626.GB537@athlon.pn.xcllnt.net>, Marcel Moolenaar writes
:
>On Fri, May 16, 2003 at 09:59:52AM +0200, Poul-Henning Kamp wrote:
>> 
>> >That's right:)
>> >Look at functions in /sys/kern/kern_tc.c. There are so many little
>> >functions. How about put __inline here and there?
>> 
>> Try it, and you'll find that things get slower because the code
>> gets bigger.
>
>Observed on what architecture?

i386, but it takes a _lot_ to get a stddev on your measurements
which allow you to measure this in real-world applications.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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