2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Optimize virtual-target.register for the case of many identically named

targets. In that case, we used to create a long list of targets and searched
it whenever new target is registered. Now the list is for each path/name
combination, so is much shorter.


[SVN r31054]
This commit is contained in:
Vladimir Prus
2005-09-20 12:55:56 +00:00
parent c5d034f94c
commit f2a0ea9dec

View File

@@ -813,7 +813,7 @@ rule from-file ( file : file-loc : project )
rule register ( target )
{
local signature = [ sequence.join
[ $(target).name ] : - ] ;
[ $(target).path ] [ $(target).name ] : - ] ;
local result ;