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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user