Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-18 10:39:48

erhaps we should investigate this...

 --=-=-= Content-Type: message/rfc822
Content-Disposition: inline

X-From-Line: bonefish_at_[hidden] Mon Nov 18 16:18:34 2002
Return-Path: <jamming-admin_at_[hidden]>
Received: from ([] [])
by with ESMTP
Mon, 18 Nov 2002 10:44:08 -0500
Received: from ( [])
by (Mirapoint Messaging Server MOS 3.2.1-GA)
with ESMTP id ACZ65208;
Mon, 18 Nov 2002 10:44:11 -0500 (EST)
Received: from ([]
by with esmtp (Exim 3.35 #4)
id 18Do4E-0003lA-00
for david.abrahams_at_[hidden]; Mon, 18 Nov 2002 10:44:06 -0500
Received: from fxp1 (localhost [])
by (8.12.1/8.11.6) with ESMTP id gAIFQ5pe059185;
Mon, 18 Nov 2002 07:26:05 -0800 (PST)
(envelope-from jamming-admin_at_[hidden])
Received: from (root_at_[hidden]
by (8.12.1/8.11.6) with ESMTP id gAIFOIpe059134
for <jamming_at_[hidden]>; Mon, 18 Nov 2002 07:24:22 -0800 (PST)
(envelope-from bonefish_at_[hidden])
Received: from (bonefish_at_[hidden]
by (8.9.3/8.9.3) with ESMTP id QAA24646
for <jamming_at_[hidden]>; Mon, 18 Nov 2002 16:18:35 +0100 (MET)
Received: (from bonefish_at_localhost)
by (8.9.3/8.9.3) id QAA20013;
Mon, 18 Nov 2002 16:18:34 +0100 (MET)
From: Ingo Weinhold <bonefish_at_[hidden]>
To: jamming_at_[hidden]
Message-ID: <Pine.SOL.4.44.0211181543580.19429-100000_at_[hidden]>
Subject: [jamming] compile.c: compile_on(): Why search()?
Sender: jamming-admin_at_[hidden]
Errors-To: jamming-admin_at_[hidden]
X-BeenThere: jamming_at_[hidden]
X-Mailman-Version: 2.0.4
Precedence: bulk
List-Help: <mailto:jamming-request_at_[hidden]?subject=help>
List-Post: <mailto:jamming_at_[hidden]>
List-Subscribe: <>,
List-Id: Discuss the build tool Jam/MR with other users
List-Unsubscribe: <>,
List-Archive: <>
Date: Mon, 18 Nov 2002 16:18:34 +0100 (MET)
X-Content-Length: 769
Lines: 23
Xref: NEFARIOUS mail.misc:9011
MIME-Version: 1.0


I'm currently doing a bit of profiling to optimize a rather large build
system. And while doing so, I stumbled over the following line in

t->boundname = search( t->name, &t->time );

Why would one do that? I somehow suspect, that it is an unneeded leftover
from copying and pasting compile_include(). At least the unchanged comment
for `parse->left' (preceding the function definition) seems to support
that suspicion.

For search() causes disk access (one or more timestamp()s), excessive
use of on target rule execution can result in a significantly decreased
build system performance.

CU, Ingo

jamming mailing list - jamming_at_[hidden]


David Abrahams
dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at