Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 18:23:58 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        grog@lemis.com (Greg Lehey), freebsd-hackers@FreeBSD.ORG, n@nectar.com, hackers@FreeBSD.ORG
Subject:   Re: Optimizations (was: Why not another style thread? (was Re: cvs commit: src/lib/libc/gen getgrent.c))
Message-ID:  <200012200223.eBK2Nwt63810@earth.backplane.com>
References:   <200012200050.eBK0okv70621@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
    Guys, on intel a simple conditional is going to be a whole lot
    expensive then a subroutine call no matter what, even if the
    conditional misses.  Subroutine calls are very fast on a P6, but
    if they push anything on the stack at all beyond the return address they
    are not going to be as fast as a conditional.

					    -Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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