Dramatically reduce the CPU cost of optimize 8.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-26 17:46:31 -08:00
parent 6ce392b08e
commit 380d427a5d

View File

@ -2740,8 +2740,9 @@ sub replace_references( $$$;$ ) {
trace( $fromref, 'R', $rule, $_ ) if $debug;
}
calculate_digest( $fromref ) if $digest;
}
calculate_digest( $fromref ) if $digest;
#
# The passed chain is no longer referenced by chain $fromref
#