From c132dec91c251937992d79800cc7077f66cc3c94 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 7 Feb 2006 08:40:10 +0000 Subject: [PATCH] Optimization. * build/feature.jam (attributes): Don't call 'valid', as it leads to big slowdown. [SVN r32692] --- src/build/feature.jam | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/build/feature.jam b/src/build/feature.jam index d97987c07..2d5258406 100644 --- a/src/build/feature.jam +++ b/src/build/feature.jam @@ -188,10 +188,6 @@ rule valid ( names + ) # return the attibutes of the given feature rule attributes ( feature ) { - if ! [ valid $(feature) ] - { - error \"$(feature)\" is not a valid feature name ; - } return $($(feature).attributes) ; }