From fc801fd563df5d26d069f9f858dd0d090cc9370d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 5 May 2021 22:02:26 +0300 Subject: [PATCH] tools/fast: use prealloc --- cmd/tools/fast/fast.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/fast/fast.v b/cmd/tools/fast/fast.v index e903daf1ef..548aad5f2c 100644 --- a/cmd/tools/fast/fast.v +++ b/cmd/tools/fast/fast.v @@ -37,7 +37,7 @@ fn main() { // println('Checking out ${commit}...') // exec('git checkout $commit') println(' Building vprod...') - exec('v -o $vdir/vprod -prod $vdir/cmd/v') + exec('v -o $vdir/vprod -prod -prealloc $vdir/cmd/v') // exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging diff1 := measure('$vdir/vprod -cc clang -o v.c -show-timings $vdir/cmd/v', 'v.c') mut tcc_path := 'tcc'