summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-05-13 04:36:02 +0000
committeralc <alc@FreeBSD.org>2003-05-13 04:36:02 +0000
commit0422418ef409d77459414f521175563ac8f3100f (patch)
tree64fabc395742fda6135861081668f303c073ca2e /lib
parent0d14921801d80ac047a0aed411cd3bb3916a3436 (diff)
downloadFreeBSD-src-0422418ef409d77459414f521175563ac8f3100f.zip
FreeBSD-src-0422418ef409d77459414f521175563ac8f3100f.tar.gz
Optimize the use of splay in gbincore(). During a "make buildworld" the
desired buffer is found at one of the roots more than 60% of the time. Thus, checking both roots before performing either splay eliminates unnecessary splays on the first tree splayed. Approved by: re (jhb)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud